Category "prometheus"

Calculating Mbps in Prometheus from cumulative total

I have a metric in Prometheus called unifi_devices_wireless_received_bytes_total, it represents the cumulative total amount of bytes a wireless device has recei

Prometheus - Match all metrics but one

How can I match all Prometheus metrics except some? E.g: {__name__!~"metric_to_discard"} Does not work, it returns Error executing query: parse error at char

Prometheus - Expression under annotations

I want to send an email alert (I have a custom template) that looks like this: Description = Disk is almost full: < 20% left Summary = Volume D: on 192.168.1

Grafana Prometheus - query processing would load too many samples into memory in query execution

I'm trying to get my query to sum over intervals in grafana but I get this error: "query processing would load too many samples into memory in query execution"

Modelling Total Requests received per hour in Prometheus and Grafana

I am trying to chart total number of requests each hour with Grafana and Prometheus counters. So I have a counter which gets incremented at every request http_

PromQL: how to change null value to an arbitrary value?

I have situation where my metric is set to 0 by a program when everything works fine. I would like to treat null value as an error value (in my case 1). The eas

Prometheus and Node Exporter architecture

I have been 3 days reading about this, even configuring a set of containers to test them, but I have doubts. I understand that the architecture of 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