Category "prometheus"

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

Prometheus Alert Manager - CPU high not alerting

I configured prometheus alert manager, but he is not alerting when the CPU of one of my server goes to 99% of usage. This is the alert : - alert: HostHighCpuLoa

prometheus dynamic metrics_path

Prometheus allows me to dynamically load targets with file_sd_config from a .json file like this #prometheus.yaml - job_name: 'kube-metrics' file_sd_configs:

Compare 2 metrics in Prometheus

I'm new in prometheus, need help. I have custom metric on my 2 servers (just shows version of application): app_version{plant="dev",env="demo"} 55.119 app_ver

Prometheus - debugging slow query

The following query is taking more than 1 min, and timing out. It's made from Grafana: /grafana/api/datasources/proxy/2/api/v1/query_range? query=rate(rmq_pu

Use conditional operator in Prometheus alert rules to set severity

I would like to use the conditional operator into the Prometheus alert.rules definition to set a specific severity. For instance, if the environment is producti

Prometheus create label from metric label

We are running the node-exporter in containers. To quickly identify on which host each node-exporter is running, I created a metric that looks like this: host{h

Prometheus scrape config for multiple metric endpoints per pod

We have a Kubernetes Pod which provides multiple metric endpoints (:3093/metrics and :9113/metrics), but it also has an port which doesn't provide any metric (:

How to configure prometheus with alertmanager?

docker-compose.yml: This is the docker-compose to run the prometheus, node-exporter and alert-manager service. All the services are running great. Even the h

Grafana chained variables in repeating rows

I have a dashboard that uses two variables: $clients is a static list and $running_sessions is the result of a MySql query that uses $clients (something like s

Why endorser_proposals_recieved (Hyperledger fabric peer-metric) is giving different values at different peers?

We are using Hyperledger fabric 2.2.3 with 3 organizations 2 peers each, a total 6 endorsing peers,3 orderers, and using the Prometheus tool for monitoring. usi

Prometheus query in Grafana with query variable

My Grafana panel query is sum(kube_pod_container_resource_limits_cpu_cores{node=~"$workers"}) / sum(kube_node_status_allocatable_cpu_cores{node=~"$workers"}) T