Questions tagged [prometheus]

Prometheus is a multi-platform monitoring system and time series database. Official builds are available for Darwin, FreeBSD, Linux, NetBSD, OpenBSD and Windows. Database administration questions are generally better suited to dba.stackexchange.com

Prometheus is a multi-platform monitoring system and time series database. Prometheus has many advanced features, including a multi-dimensional data model with a complete query language (PromQL).

Prometheus is open-source under the Apache 2.0 license. Prometheus includes a number of exporter modules to feed the database, including node_exporter (for machine metrics), snmp_exporter (for network metrics) and blackbox_exporter (for probing endpoints).

17 questions
2
votes
2 answers

How to add additional scrape config for Prometheus on kubernetes?

I have cloned and started the https://computingforgeeks.com/setup-prometheus-and-grafana-on-kubernetes/ kube-prometheus project on my local. I want to add additional scrap config to retrieve custom metrics from another source. I…
2
votes
1 answer

Prometheus Blackbox Exporter TCP probe returns value of 0, even when port is open (Iperf3 server)

I have a strange problem that I've been digging into the last couple of days. The setup I have an Iperf3 server running in Docker on this internal address and port: 10.10.2.2:5201 I also have Prometheus and Grafana running in Docker, to monitor…
1
vote
1 answer

Grafana: How to set Table cell color by comparing two values

Using Prometheus as datasource, in Grafana, I have a Table visualization that lists kubernetes containers and their versions using this query: kube_pod_container_info{namespace="$namespace", pod=~"pod-.*"} Example table looks like this: | pod …
oaaya
  • 133
1
vote
1 answer

Matching only one rule with Prometheus / Alert Manager

I have several devices that output a metric. If the metric is above a threshold (different for each device), I alert. At the end of my alert_rules.yml file I have a catch-all that alerts for any device outputing a metric value of >1. This is to…
1
vote
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:…
1
vote
1 answer

Failed to start Prometheus Node Exporter

I've installed Prometheus by extracting archive from the official site, creating the user prometheus and systemd unit file. It has been started successfully. But now when I'm trying to do the same for the node exporter, I encountered an error:…
0
votes
0 answers

Why is Prometheus stack operator is not scraping metrics from an app?

I have cluster for small demo. I need to collect metrics from cluster itself and application, that ran in. I installed helm kube-prometheus-stack and can see cluster metrics. Now I want to get metrics from application. This is my setup: Prometheus…
0
votes
0 answers

Incrorrect network metrics values

Faced with such a problem. Grafana+Prometheus and InfluxDB+Telegraf monitoring systems are configured in my project for server network traffic visualization. Metrics node_network_transmit_bytes_total{device="ens5"} (Prometheus) and bytes_sent…
Sergey
  • 1
0
votes
0 answers

How to check static IP address using Prometheus & Blackbox exporter

I would like to check every 30s whether it is possible to connect to the static IP address 10.0.0.5 on port 80. Unfortunately I cannot find any valid example. I assume it should look something like the following snippet: http_2xx: prober:…
0
votes
2 answers

Memory reporting discrepancy in Linux when using ZFS

I have an Ubuntu 22.04 Linux machine that runs some services and heavily uses ZFS file system. I observe some serious discrepancies in memory reporting when using various system tools. For example, the free command shows the following data: # free…
0
votes
1 answer

prometheus incorrect windows disk latency

I am trying to monitor Windows disk latency using windows_exporter. I tested disk performance using two commands below : c:\> diskspd.exe -c1G -d120 -b4K -o32 -t4 -w10 -L -D -Suw testfile.dat PS c:\> Get-Counter -ComputerName win-node -Counter…
dsamy
  • 1
0
votes
0 answers

Prometheus: several exporters with push-proxy

I want to send metrics to a Prometheus instance where the client is behind a firewall. So I am using push-proxy on the client (--metrics-addr=":9101", --proxy-url=http://xxx:8082) and the machine running Prometheus (port 8082,…
LeifSec
  • 113
0
votes
0 answers

Prometheus can't reach node-exporter

I "inherited" old code for a server running several docker containers. Grafana and Prometheus are used to monitor stats, as well as node-exporter. Unfortunately, the node-exporter container is shown as down in Prometheus. The error message is Get…
LizzAlice
  • 111
0
votes
1 answer

How to access prometheus on windows when prometheus is installed on Ubuntu [Virtualbox]

I havea windows laptop. On this laptop I have installed virtualbox and inside the virtualbox I have installed ubuntu server. On the ubuntu server I have installed the Prometheus the monitoring tool. I am able to run prometheus in the terminal of…
bizimunda
  • 101
0
votes
1 answer

Prometheus join on metric value, rather than label?

I have a Prometheus instance scraping from snmp_exporter, and I have two metrics I need to join, with the aim to marry up IP addresses and network interfaces on SNMP-capable devices, based on the "ifIndex" number it is referenced by in…
1
2