Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for using prometheus read endpoint as datasource for the default (swagger-stats/#/) dashboards #203

Open
stagefright5 opened this issue Aug 23, 2022 · 2 comments
Assignees

Comments

@stagefright5
Copy link

As per my understanding the built in dashboard for swagger stats currently supports only in memory stored data.
Is it possible to set up prometheus read endpoint as the datasource for the dashboard UI (like elastic search).

@sv2
Copy link
Collaborator

sv2 commented Sep 6, 2022

It's possible, however it would make Prometheus a mandatory dependency - as a data source for built-in dashboards.
Being able to see built-in dashboard without any dependencies is valuable, in my opinion
I would open this suggestion for voting for now - let me know what's preferred please

@sv2 sv2 self-assigned this Sep 6, 2022
@sv2 sv2 added the enhancement label Sep 6, 2022
@stagefright5
Copy link
Author

Hi. Thanks for the reply.
I think an Adapter like system would help. Swagger stats can have pluggable adapters like:

  • Prometheus Adapter
  • ElasticSearch Adapter
  • ...etc
    These adapters will connect to various data sources, read from them and pass the data onto swagger stats in a predefined and standard data format.
    Any other ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants