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
18 views

Kafka Metrics monitoring using Prometheus

currently I am monitoring Kafka with Prometheus to which I am new. I have successfully setup Prometheus with nade_exporter, jmx_exporter and kafka_exporter. I want to monitor other metrics given at ...
1
vote
1answer
8 views

No prometheus in Gitlab Omnibus

Setup: Ubuntu 14.04 with all recent updates, Gitlab Omnibus version 11.7.3 (latest) ~$ sudo grep prometheus /etc/gitlab/gitlab.rb prometheus_monitoring['enable'] = true prometheus['enable'] = true ...
0
votes
0answers
19 views

Log parser for Prometheus

I am implementing Prometheus monitoring solution. The RED Method ensure the service provided by our application meet our SLO and SLA. Thus, we want to extract the Rate, Error and Duration from our ...
0
votes
0answers
41 views

How can I monitor my Cassandra Docker Image with Prometheus?

I am trying to monitor a cassandra docker instance from a prometheus docker instance. I'm getting confused as it seems there is many possibilities and packages to do so. Right now, prometheus says: ...
0
votes
1answer
30 views

HTTP requests hang in otherwise working VLAN setup

I have 2 kvm virtualised servers. Each has a internet-facing ens3 and a ens6 interface for a VLAN bet ween the hosts. I'm running Ubuntu 18.04. I have configured the interfaces via netplan. network: ...
0
votes
1answer
73 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
30 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
63 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
111 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
14 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
2answers
139 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
81 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
114 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% ...
2
votes
1answer
67 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
117 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
202 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
80 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
438 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
89 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
99 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
94 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? ...
3
votes
1answer
991 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
156 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
62 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
97 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
555 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 ...
3
votes
1answer
367 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
64 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
232 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
872 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 ...
7
votes
1answer
2k 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
38 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
727 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
87 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
2k 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 ...
4
votes
3answers
4k 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 ...