The Prometheus monitoring system.
Questions tagged [prometheus]
136 questions
26
votes
6 answers
How to find out the number of time series stored in Prometheus LevelDB
i'm responsible for maintaining the Prometheus servers in our company. The metrics however are provided by the teams.
Is there a way to find out the number of time series stored in the Prometheus datadase? We are using the default LevelDB data…

Tobias Wiesenthal
- 403
- 1
- 4
- 7
15
votes
1 answer
How to split out Prometheus config files?
Right now we're using Prometheus for our monitoring and we have a lot of config (our prometheus.yml main config file is 1400+ lines long).
I would like to split this out into logical groupings (maybe DEV/TEST/PROD?) but I can't seem to find any…

srkiNZ84
- 571
- 1
- 6
- 10
9
votes
2 answers
Prometheus Alert Rule for Absent Discovered Target
I'm trying to write a general rule to fire alert when a discovered target goes missing. In particular kubernetes pods annotated for scraping and auto-discovered using kubernetes_sd_configs.
Expressions of the form:…

Budric
- 213
- 1
- 3
- 6
9
votes
1 answer
Prometheus: no metric node_cpu
I've setup Prometheus and node_exporter. All example graphs I've found utilize node_cpu but I don't have this metric present. The closest I've come is node_cpu_seconds_total. Am I missing something or is my version of Prometheus incompatible with…

Chris
- 95
- 1
- 5
5
votes
2 answers
Smoothing Grafana graph
I'm setting up montinoring on my company infrastructure. I installed Grafana with the Prometheus Datasource. I built my dashboards and have rather "Spiky" graphs. I was wondering if there was any way to smooth it up a bit so it would be more…

Ror
- 321
- 3
- 16
5
votes
1 answer
Prometheus - Use case of service discovery by role endpoints and role pod in Kubernetes
While reading Prometheus Configuration documentation and some sample scrape configurations, I found some kubernetes_sd_configs with role service & role endpoints & role pod
- job_name: kube-state-metrics
kubernetes_sd_configs:
- role: endpoints
…

jiangwei
- 51
- 1
- 4
5
votes
1 answer
Prometheus node_exporter metrics - huge spikes in Grafana
Our setup includes:
a few Debian 9.12 nodes with Prometheus node_exporter v. 0.18.1 installed as service
Prometheus server v. 2.14.0 (on Windows Server 2016) scraping the metrics from nodes
Grafana visualizing metrics
Basically, our load could be…

Arseny V.
- 95
- 2
- 11
4
votes
1 answer
Monitor Gitea with Prometheus
I have deployed Gitea. How can I want to monitor it with Prometheus ?
I have tried to scape the /metrics but I get no metrics (HTTP/404)

Franklin Piat
- 806
- 8
- 24
4
votes
1 answer
Do prometheus metrics have some sort of "freshness" lifetime?
I'm scraping some metrics (openstack cinder volume sizes) every 15 minutes, and the results produce a discontinuous graph, like this:
(That's the result of the simple query cinder_volume_size_gb).
The metrics "exist" for about five minutes, but…

larsks
- 43,623
- 14
- 121
- 180
3
votes
2 answers
Prometheus: scrape interval is 1m, but resolution is still 15s
tl;dr: My scrape interval is 1m, yet I have a 15s resolution. Why?
My prometheus configuration includes a job to scrape kong metrics:
- job_name: kong_blue
honor_timestamps: true
scrape_interval: 1m
scrape_timeout: 10s
metrics_path:…

aspyct
- 360
- 1
- 6
- 21
3
votes
2 answers
Disk usage metrics missing from Prometheus node exporter
I used Prometheus and node exporter a while ago and had access to node_filesystem_* metrics to monitor disk usage but I've recently fired it up on some other servers (Ubuntu Linux) and those metrics seem to be missing.
According to this…

Sam
- 183
- 1
- 5
3
votes
1 answer
How to monitor ping packet loss via prometheus exporters?
I'm already trying to use this exporters for simple icmp probes:
https://github.com/prometheus/blackbox_exporter
It gives only 3 icmp latency metrics
https://github.com/czerwonk/atlas_exporter
Only metrics for atlass…

Kein
- 131
- 3
- 14
3
votes
0 answers
Prometheus HA setup with InfluxDB backend
I'm running Prometheus HA setup according to official FAQ (two prometheus instances scraping the same data) and would like to use InfluxDB as a remote storage backend.
Should I be worried about having duplicate data points in the database? Is there…

Beli
- 268
- 1
- 2
- 6
3
votes
3 answers
Set Grafana dashboard variable from Prometheus scalar
I need to use the number of CPU cores in multiple calculations on a Grafana dashboard and was hoping to perform the query once and store in a variable. I can't find a way to return the data in a format that Grafana will accept.
Grafana…

virullius
- 1,048
- 1
- 9
- 23
3
votes
1 answer
Stackdriver vs Prometheus - what is the main differences?
Moving from on-premise monlotic architechture style to microservices running in GCP on Kubernetes Cluster.
I would like to understand Stackdriver compared to Prometheus. I can not get what the difference is. What can Stackdriver do what Prometheus…

CodeR
- 39
- 2