-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Using prometheus as metrics provider #8665
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle stale |
/remove-lifecycle rotten |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle rotten |
/remove-lifecycle stale |
Hi @Jack-Kingdom |
Yeah, I mean, we can disable the default metrics scraper and use prometheus as metrics source. |
If I understand correctly you would want dashboard to support prometheus as data source and display its' metrics directly in the UI? |
@floreks Right! I found we use sqlite as storage in metrics scraper. Use relation-based db as time seriesed db is not a good idea, this may cause performance issues in large scale k8s. we can make metrics scraper as a adapter layer to support different metrics source. In my mind, most of k8s deployment have their own metrics system. |
Supporting other data sources is on our list for sure. Victoria metrics/prometheus would be first. Metrics scraper can't really be compared to them since it is designed to scrape only basic metrics and for a very short time. Normally it only stores the last 15 minutes to visualize current usage and short time peaks. It also scrapes only from metrics server, where i.e. prometheus has its own node-level scraper. For what it is being used is totally fine. |
Oh great, I now understand the ask. |
What would you like to be added?
support using prometheus metrics info as metrics source.
Why is this needed?
metrics-scraper store metrics info for provide, and prometheus did this job too. We have no need store those data twice.
The text was updated successfully, but these errors were encountered: