Questions tagged [prometheus]

The Prometheus monitoring system.

136 questions
0
votes
0 answers

Persist Prometheus data from a Docker Container

I'm running Prometheus and Grafana from docker-compose and basically it works. But I don't get my prometheus data to persist on my host machine. As soon as I switch my volume settings from --- version: "3.3" services: prometheus: image:…
0
votes
0 answers

How to scrape Prometheus secured with OAuth2-proxy and Keycloak

I have 2 prometheuses, both are with forward-auth via the oauth2-proxy, which have the same client credentials in a single keycloak. I would like one prometheus to federate the other one. This is my config snippet for authentication in…
simonszu
  • 373
  • 7
  • 14
0
votes
0 answers

How to avoid duplicate entries in DNS Bind cache db file?

While running command "rndc dumpdb -cache" it has huge amount of data some duplicate entries like one domain has multiple entries with same target but different TTL, how to reduce like update only requires those parts which are new or haven been…
Sha
  • 1
  • 2
0
votes
1 answer

How to remove labels in alert template?

I found a template for Prometheus Alert Manager for alerts, but I receive many unnecessary labels in notification. How to remove labels in template? This code is responsible for labels (look below). I dont have deep knowledge in Go Templating system…
Epic555
  • 131
  • 5
0
votes
0 answers

How to remove information about old firing alerts in notification?

When 1 alert is firing, AlertManager sends a notification, then 2nd alert is firing or resolved, AM sends a notification with information about 2 alerts. How to remove information about 1st alert in notification? I set ‘repeat_interval: 24h’ for AM…
Epic555
  • 131
  • 5
0
votes
1 answer

Monitoring of MySQL replication and alerting when replication is not working

I have a question about monitoring of MySQL replication and in particular about alerting using Grafana/Prometheus. We have 2 MySQL(MariaDB to be exact) instances for which replication is configured: One Master and one Slave. They can change roles…
Dmitry
  • 11
  • 4
0
votes
0 answers

Nginx `ngx_http_stub_status_module` with multiple sites on the same server (VM)

Server is a VM running Debian 11 with nginx-extras package. I have the ngx_http_stub_status_module setup in /etc/nginx/conf.d/stub_status.conf as shown below. server { listen 127.0.0.1:8080; server_name 127.0.0.1; location /stub_status…
Logan M.
  • 101
  • 1
0
votes
1 answer

Prometheus expose any metrics on itself? (e.g. disk space it uses)

Does Prometheus expose any metrics on itself? i.e. how much disk space it's using etc. I want to start fine tuning our prometheus server, so need to monitor what's currently there. I want to be able to see how much disk space it using. Prometheus…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
0
votes
0 answers

Agent prometheus does not send metrics

I am trying to configure a Prometheus agent with the 'remote_write' function. The Prometheus agent configuration file has these parameters. global: scrape_interval: 30s external_labels: environment: roble remote_write: - url:…
Félix
  • 1
0
votes
1 answer

kube-api server high cpu

I want to know how I can check why one of my ctrl node and kubernetes consumes more cpu than the others. I have a cluster with 3 ctrl nodes and 4 worker nodes. I have an nginx load balancer with the least_conn algorithm to distribute the requests to…
PeterWegner90
0
votes
0 answers

Accessing local host Dashboards (GCP VM) from my Laptop

I have 2 VM instances on Google Cloud Platform. 1st VM is used as a Kubernetes Master Node and 2nd as Worker Node. I have Prometheus and Grafana Deployed on the cluster. I want to access the Prometheus and Grafana dashboard from my laptop. I tried…
Anvay
  • 13
  • 3
0
votes
1 answer

Kubernetes upgrade from 1.21 to 1.22 caused Prometheus to fail

We recently upgraded Kubernetes 1.21 to 1.22 version on aws eks. The upgrade was successful. However, the associated prometheus deployments fails with error $ kubectl -n monitoring logs prometheus-operator-*** W0109 20:31:28.602872 1…
0
votes
0 answers

Prometheus Metrics - Multiple boxes in one file

My existing custom exporter for Prometheus generates: this_metric_one 10.3 this_metric_two 11.4 Currently this is running on two boxes, Box_A and Box_B. INSTEAD, I want to have Box_C query both (Box_A and Box_B) (for Reasons) and return metrics to…
0
votes
0 answers

Alertmanager does not send resolved email

I have configured an alertmanager and it sends alerts properly But it does not send resolved email. I have tried different amount of time for resovled timeout but it did not work here is my configuration I am running alertmanager and prometheus on…
0
votes
0 answers

My mysql Exportir not appears on my Prometheus localhost

So I have 2 VMs in my virtualbox, there are Monitor and Target. So, in the Monitor VM, I install Grafana as monitoring and in Target VM, I install Prometheus as target monitoring. For now I've installed MySQL-exporter in Target VM, and I can access…