Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [prometheus]

The Prometheus monitoring system.

0
votes
0answers
12 views

Which Prometheus RabbitMQ Exporter to choose for which RabbitMQ version? How to automate this dependency installation for any version?

At the time of writing my question the latest RabbitMQ version was 3.7.9 and latest prometheus_rabbitmq_exporter was at 3.7.2.4. So they are different. How do I know which version of ...
0
votes
0answers
14 views

nginx: Expose number of requests pending for an upstream server

I'd like to monitor an nginx instance, specifically tracking the number of requests an upstream backend is currently processing. This is important to me since the specific backend has a limit on the ...
0
votes
0answers
30 views

Monitoring traffic by IP

I have machines with one interface eth0 with multiple different IP addresses attached to it (255) to be exact, interfaces look like this eth0:1, eth0:2 ...eth0:254. I want to monitor the traffic for ...
0
votes
1answer
41 views

kubernetes: measuring resource/limit efficiency

I'd like to get a feel for how 'efficient' my deployment/jobs are at consuming the resources they request. i.e., if a job that only ends up using 1CPU at peak ends up requesting 320, I'd like to have ...
0
votes
0answers
25 views

How to monitor free disk space on ramdisk on windows?

I want to monitor free disk space on ramdisk with wmi_exporter and prometheus. Is there a collector for that which I can't find?
0
votes
0answers
13 views

Grafana & Bind Dashboard

I have a strange problem with the Bind Dashboard (1666) in Grafana. The Dashboard was working properly until very recently. Today however, it's empty! I don't get any graphs (all of them are with No ...
0
votes
1answer
41 views

Prometheus Alert Rule for Absent Discovered Target

I'm trying to write a general rule to fire alert when a discovered target goes missing. In particular kubernetes pods annotated for scraping and auto-discovered using kubernetes_sd_configs. ...
1
vote
1answer
31 views

Prometheus alert not fired

I have setup 5 alerts in my Prometheus setup. 3 of them work as expected. However, I have 2 that are never triggered. I am really confused and I need some help here. So, the 2 rules that do not ...
0
votes
0answers
58 views

Prometheus, Alertmanager Alert not triggered

I have a Prometheus server as a PoC. I have setup some rules in it in order to test the AlertManager. To test he alert, I have an AWS instance in which I load the CPU. And the CPU load is at 100% ...
0
votes
0answers
47 views

kube-state-metrics - Failed to list *v1.Pod: serializer for text/html; charset=utf-8 doesn't exist

I'm trying to setup a monitoring of our Kubernetes cluster but it's not that easy. In the first time I tried on a dedicated VM to scrap all metrics following configs I can find on Internet and ...
2
votes
1answer
53 views

What alerting setup can give me an overview of my Prometheus alert states?

I'm using prometheus and alertmanager to post messages to slack when alerts fire. Both are self-hosted in Kube. PII concerns prevent me from using a managed instrumentation solution. I'm looking for ...
0
votes
0answers
85 views

Is there RDS support for remote storage for Prometheus?

I don't see PostgreSQL supported here: https://github.com/prometheus/prometheus/tree/master/documentation/examples/remote_storage/remote_storage_adapter and I don't see RDS supported here: https://...
2
votes
0answers
138 views

Prometheus HA setup with InfluxDB backend

I'm running Prometheus HA setup according to official FAQ (two prometheus instances scraping the same data) and would like to use InfluxDB as a remote storage backend. Should I be worried about ...
0
votes
0answers
62 views

migrating queries from heapster to prometheus on k8s

I'm migrating a Grafana dashboard from heapster (influx db) to prometheus. I had a chart that represents a microservice cpu usage and cpu limit SELECT mean("value") FROM "cpu/usage_rate" WHERE ("...
1
vote
2answers
327 views

Prometheus 1.5.2 behind Apache 2.4 reverse proxy

I want to place Prometheus behind an Apache reverse proxy for authentication and access control. This is for the version of Prometheus that comes with Debian Stretch (prometheus --version indicates ...
0
votes
0answers
77 views

Disabling Apache's default site for reverse proxy to Prometheus node exporter

I am configuring Apache (apache2 on Debian Stretch) as a reverse proxy in front of a Prometheus node exporter. Its task will be to provide authentication and to only serve the host's metrics on https:/...
0
votes
1answer
58 views

textfile for Windows

I need to export some custom metrics generated by a script under Windows. Under Linux, I am already doing it, based on Robust Perception / Brian Brazil article : The node exporter includes many ...
0
votes
0answers
68 views

Prometheus' node-exporter, missing diskstats metrics on Xen VMs

For some reason, diskstats metrics are missing from my Xen VMs. Same node-exporter with identical settings works fine on VMW VMs. I am not using selinux or apparmor. Has anyone experienced this? ...
2
votes
1answer
625 views

Prometheus: no metric node_cpu

I've setup Prometheus and node_exporter. All example graphs I've found utilize node_cpu but I don't have this metric present. The closest I've come is node_cpu_seconds_total. Am I missing something or ...
0
votes
1answer
85 views

Prometheus with remote_write and backups

I'm building a prometheus stack that uses the remote_read/remote_write feature for long term storage, and I have some questions about if/how prometheus' tsdb needs to be backed up, given that it is ...
0
votes
0answers
54 views

prometheus 2.2.1 alert doesn't work properly

I have created an alert rule for InstanceDown name like this; alert: InstanceDown expr: up == 0 for: 1m annotations: summary: '{{ $labels.node }} is down for more than 1 minutes!!!' This rule ...
0
votes
0answers
83 views

Docker container (mysqld-exporter) cannot access other docker container (mysql) on one server

In my (simplified) setup, I have 2 Servers, A and B (and others, which behave like B), and my local machine. On each of the servers, a mysql-database and a mysqld-exporter prometheus-exporter should ...
1
vote
1answer
445 views

Set Grafana dashboard variable from Prometheus scalar

I need to use the number of CPU cores in multiple calculations on a Grafana dashboard and was hoping to perform the query once and store in a variable. I can't find a way to return the data in a ...
0
votes
0answers
453 views

Prometheus PromQL regex form Grafana

I have to write regex used in Prometheus query from Grafana (PromQL). But I have to use it on variable to cut part of it. Variable $Interface is like Ethernet1/0/1-UPLINK. And I must use this ...
3
votes
1answer
288 views

GitLab and Prometheus failure

Setup: GitLab installed with Omnibus package on CentOS 6.4 After I've made a change in the GitLab configuration file /etc/gitlab/gitlab.rb to configure Bitbucket as OAuth2 provider, I've run the ...
0
votes
1answer
57 views

How to monitor downtime of a remote third party MySQL Server?

I have a server application on my own server that depends on remote MySQL db running on another server maintained by a third party. How do I monitor when their bd works and when not? I would like my ...
1
vote
0answers
201 views

Promoting Nomad task meta tags via consul to Prometheus

We are using Nomad to schedule tasks which are then registered in Consul from where they are picked up in Prometheus scraping. service.hcl: job "myjob" { group "mygroup" { count = "1" task ...
2
votes
1answer
752 views

Stackdriver vs Prometheus - what is the main differences?

Moving from on-premise monlotic architechture style to microservices running in GCP on Kubernetes Cluster. I would like to understand Stackdriver compared to Prometheus. I can not get what the ...
5
votes
1answer
1k views

How to split out Prometheus config files?

Right now we're using Prometheus for our monitoring and we have a lot of config (our prometheus.yml main config file is 1400+ lines long). I would like to split this out into logical groupings (maybe ...
1
vote
0answers
35 views

Is there possibility in Prometheus alerts calculate another alert status?

I want to make an ALERT with IF that contains expression that depends on another alert status. Is that ever possible somehow? I know about alert inhibition with alermanager but I need not to firing ...
0
votes
2answers
629 views

Grafana How to change title of repeated rows/panels along with metric?

I am trying to use Prometheus snmp_exporter to gather metrics for Cisco switches and use Grafana repeated panels for displaying. the Grafana works magically well. However, I have difficulity to assign ...
0
votes
1answer
86 views

Monitor health of prometheus deployment within kubernetes?

The setup is currently this: Kubernetes is deployed on AWS instances within a private hosted zone on AWS (only vpn access to the instances, though there is a NAT gatway), with Prometheus deployed as a ...
1
vote
1answer
1k views

How to monitor REST API latency with Prometheus and Grafana

I would like to monitor request processing latency on my Tomcat server. It would be nice to perform some alerting based on this later. I configured Tomcat valve with %D pattern so it will log time ...
3
votes
3answers
3k views

How to find out the number of time series stored in Prometheus LevelDB

i'm responsible for maintaining the Prometheus servers in our company. The metrics however are provided by the teams. Is there a way to find out the number of time series stored in the Prometheus ...