Category "prometheus"

How to update metric values in prometheus exporter (golang)

I'm starting to write an own prometheus exporter using golang. I think I got the basics but I don't know what to do exactly to get the value of the metric up to

Understand Prometheus Metrics Pulling

I'm still not quite understand the Prometheus Metrics Pulling after reading and trying it. Say I have a telegraf agent that sends metrics over to Prometheus e

Alertmanager not sending out alert to slack

I configured alertmanager with prometheus and according to the prometheus interface the alerts are firing. However there is not slack message showing up and I a

Query for a cache hit rate graph with prometheus

I'm using Caffeine cache with Spring Boot application. All metrics are enabled, so I have them on Prometheus and Grafana. Based on cache_gets_total metric I w

Unable to bring up prometheus using docker-compose file. Always throws the error /etc/prometheus/prometheus.yaml: no such file or directory

I have been trying to bring up a Prometheus container using docker-compose file. I have looked into the various solutions available online and none of them seem

Can we keep job section into a seperate file and is it possible to include prometheus.yml

Can we keep the job section into a separate file and is it possible to include it in prometheus.yml. We have multiple infrastructures to monitor,r so it would b

Combine Prometheus alert conditions with "or"?

I know Prometheus supports and and unless in alert statements: https://www.robustperception.io/combining-alert-conditions/ Is there support for or? I want to

Postman to prometheus and carriage "\r"?. text format parsing error in line 1: expected float as value, got "1\r"

Just trying to add new metric to Prometheus through the Postman, but getting text format parsing error in line 1: expected float as value, got "1\r" Metric ju

automation alertmanager receivers

Good afternoon, maybe someone came across the automation of filling in receivers in alertmanager from custom pod annotations? I mean, i want alermanager take re

automation alertmanager receivers

Good afternoon, maybe someone came across the automation of filling in receivers in alertmanager from custom pod annotations? I mean, i want alermanager take re

Spark executor metrics don't reach prometheus sink

Circumstances: I have read through these:https://spark.apache.org/docs/3.1.2/monitoring.html https://dzlab.github.io/bigdata/2020/07/03/spark3-monitoring-1/ ver

count k8s cluster cpu/memory usage with prometheus

I want to count k8s cluster cpu/memory usage (not k8s pod usage) with prometheus, so that i can show in grafana. I use sum (container_memory_usage_bytes{id="/"

How to add headers(autherization header) in Prometheus.yml file while configuring spring application

Running my application on localhost with this url -> http://localhost:8081/my-service-name After configuring prometheus, I am getting the metrics on postman

Prometheus - exclude 0 values from query result

I'm displaying Prometheus query on a Grafana table. That's the query (Counter metric): sum(increase(check_fail{app="monitor"}[20m])) by (reason) The result is

Calculate the duration in which a Prometheus metric had a certain value?

Is it possible with Prometheus to calculate a duration (for example in seconds) in which a metric had a certain value? A simple example would be an up metric w

Prometheus show top metrics filtered by number of labels

According to this: https://prometheus.io/docs/practices/instrumentation/#do-not-overuse-labels i should stick to no more than 10 labels per metric. I'm trying

How to configure alerts in Prometheus for diskspace

We have prometheus running on Win Server box, and WMI exporter on a separate box(client). Able to read client metrics in Prometheus. Now the requirement is the

Kubernetes node-exporter container is not working it shows this error message

Error: failed to start container "node-exporter": Error response from daemon: path /sys is mounted on /sys but it is not a shared or slave mount shows that mes

Grafana with Prometheus Node Export

I set up Prometheus + Node Exporter + Grafana with the following instructions: klick Node Exporter Config Prometheus So, everything worked quite well. In Promet

Escape special characters in Prometheus metric names?

When exposing Prometheus metrics from a legacy application, I find that some metrics contain invalid characters such as my.metric, my-metric, my:metric Instead