Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upNo metric "prometheus_local_storage_ingested_samples_total" for other Jobs exept Promeheus itself #2442
Comments
This comment has been minimized.
This comment has been minimized.
|
You're looking for scrape_samples_scraped. Docker hosts aren't Prometheus, and thus don't have Prometheus' metrics. |
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil thank you very much, my mistake. |
olisolis
closed this
Feb 22, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 24, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
olisolis commentedFeb 22, 2017
•
edited
What did you do?
Configured Prometheus, that takes the metrics from itself (localhost) and cadvisor.
What did you expect to see?
Metric "prometheus_local_storage_ingested_samples_total" for all job, hier for job "docker-hosts"
"prometheus_target_interval_length_seconds_count" --> same
What did you see instead? Under which circumstances?
Metric "prometheus_local_storage_ingested_samples_total" exists only for job "prometheus"
"prometheus_target_interval_length_seconds_count" --> same
Execute of Prometheus query:
prometheus_target_interval_length_seconds_count{instance="localhost:9090",interval="15s",job="prometheus"} --> metric only for instance="localhost:9090" (no such metric for target in "docker-hosts")
prometheus_local_storage_ingested_samples_total{instance="localhost:9090",job="prometheus"} --> metric olny for instance="localhost:9090" (no such metric for target in "docker-hosts")
Environment
Linux 4.1.12-61.1.18.el7uek.x86_64 x86_64
Prometheus Version: 1.5.2
Docker Version: 1.13.1, Cadvisor Version: 0.24.1-ae6934c
Linux 4.1.12-61.1.18.el7uek.x86_64 x86_64
1.5.2