Category "prometheus"

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

How to calculate containers' cpu usage in kubernetes with prometheus as monitoring?

I want to calculate the cpu usage of all pods in a kubernetes cluster. I found two metrics in prometheus may be useful: container_cpu_usage_seconds_total: Cumu

Prometheus increase not handling process restarts

I am trying to figure out the behavior of Prometheus' increase() querying function with process restarts. When there is a process restart within a 2m interval

Azure policies(gatekeeper) monitoring on AKS via Prometheus and Grafana

I have enabled azure policies via terraform and applied to AKS cluster. I can see pods are deployed, up and running. I applied in-built initiative here too with

Prometheus rule variable?

I have a Prometheus Federator with multiple targets. I need to customize its rules (thresholds) for eventually each target. Is there a way to set a have a rule