Questions tagged [prometheus]

The Prometheus monitoring system.

117 questions
1
vote
1 answer

Promethius, group_left, and "on" vs "ignoring"

In Issue #2204, one of the Prometheus developers says: ...in principle you should be favouring ignoring over on to produce generic shareable rules... I'm confused how the use of ignoring would lead to more generic rules. For example, consider a…
larsks
  • 41,276
  • 13
  • 117
  • 170
1
vote
1 answer

Filtering interface results from prometheus snmp-exporter by interface name

I'm collecting interface statistics from some switches using the following configuration: modules: if_mib: walk: - ifTable auth: community: monitor The data returned from the exporter is indexed by ifIndex. That is, a query…
larsks
  • 41,276
  • 13
  • 117
  • 170
0
votes
0 answers

Some Prometheus alerts mislabelled

We've been using Prometheus with fairly solid success so far. However, we've recently noticed that one of the sets of alerts we've set up ends up mislabelled: It shows up as a different environment than it is. This happens with both environments…
Keilaron
  • 111
  • 2
0
votes
1 answer

Monitoring EKS Kubernetes LoadBalancer service Type

I have created few services in Kubernetes with type: LoadBalancer. Platform: EKS. Is there a way to get number of 4xx or 5xx errors from this LoadBalancer? I have tried the following: Prometheus - Does not seem to be any metric collected for…
0
votes
1 answer

OpenShift 3.11: Prometheus operator update

According to the docs the Prometheus operator on a OpenShift 3.11 cluster is self-upgrading. However, i have upgraded the cluster to 3.11.141 yesterday, but the operator is still stuck on 3.11.117. There are prometheus images for 3.11.141 available,…
simonszu
  • 343
  • 5
  • 14
0
votes
1 answer

Run apt-get upgrade -s in container and expect same result as when running on the host

I would like to prepare the environment for a Docker container such that when apt-get upgrade -s runs inside the container its result is the same as if the command were run outside on the host. This is in the context of and in preparation for adding…
rookie099
  • 345
  • 2
  • 14
0
votes
0 answers

Analysing latency for a single request

I have the following (very simplified) network : (ingress) -> DMZ (nginx) -> HA Proxy -> Reverse proxy (nginx) -> Application Server (tomcat) All the layers send information to Prometheus and then we use Grafana to monitor them. We had some latency…
0
votes
1 answer

OpenShift 3.11: Edit Prometheus config managed by Operator

OpenShift 3.11 has a builtin Prometheus/Alertmanager/Grafana Stack, which is managed by an Operator. The default Prometheus settings are written in a secret called prometheus-k8s. I'd like to know how to edit this configuration without the hassle…
simonszu
  • 343
  • 5
  • 14
0
votes
1 answer

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: version: 2 renderer: networkd ethernets: …
soupdiver
  • 797
  • 2
  • 8
  • 26
0
votes
1 answer

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 prometheus_rabbitmq_exporter is compatible with RabbitMQ? Another…
laimison
  • 519
  • 2
  • 7
  • 16
0
votes
1 answer

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 metrics out of the box, it can't possibly cover all…
Franklin Piat
  • 736
  • 6
  • 22
0
votes
0 answers

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 be running as docker containers. The containers…
Thomas Böhm
  • 135
  • 1
  • 8
0
votes
1 answer

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 already deployed Prometheus to scrape it but I…
Gherman
  • 145
  • 6
0
votes
2 answers

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 the title automatically on each panel based on…
Roger
  • 91
  • 1
  • 3
  • 8
0
votes
1 answer

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 stateful set within kubernetes to monitor…