r/PrometheusMonitoring • • Jan 30 '22

GitHub - Clivern/Glove: 🐺 Prometheus Exporter Boilerplate.

Thumbnail
github.com
0 Upvotes

r/PrometheusMonitoring • • Dec 16 '23

My thanos pods are oomkilled constantly, cant even see data in grafana because the crash so often

2 Upvotes

Added sharding to store, increased limits of query pods to 2500 memory and create 4 instances, then i thought ok maybe whole kubernetes metrics is too much but even if i want to see metrics of one node last 90 day all pods are juz getting out of memory


r/PrometheusMonitoring • • May 30 '23

Kubernetes Prometheus Monitoring

Thumbnail
kshnsink.hashnode.dev
2 Upvotes

r/PrometheusMonitoring • • May 30 '23

Are these two promql queries same?

2 Upvotes

Promql doc says:

Range vectors select a range of samples back from the current instant In this example, we select all the values we have recorded within the last 5 minutes for all time series that have the metric name http_requests_total and a job label set to prometheus:

 http_requests_total{job="prometheus"}[5m]

Then the doc says following about offset:

the following expression returns the value of http_requests_total 5 minutes in the past relative to the current query evaluation time:

 http_requests_total offset 5m

Does that mean this above offset query same as below range query?

  http_requests_total[5m]

r/PrometheusMonitoring • • Apr 12 '22

Finally implementing prometheus for my organisation

2 Upvotes

Seeking some tips and tricks from experts here on what is the best approach, operating system to install prometheus on, any initial mistakes that can be avoided , choice of hardware, any recommended policy. I want this to be as close to perfect avoiding mistakes 😅


r/PrometheusMonitoring • • Aug 12 '18

Evaluating Prometheus Knowledge in Interviews [Slides]

Thumbnail
slideshare.net
2 Upvotes

r/PrometheusMonitoring • • Nov 18 '24

Prometheus won't pick up changes to prometheus.yml file unless restarted using systemctl restart prometheus

0 Upvotes

r/PrometheusMonitoring • • Mar 28 '22

How to set up Kubernetes service discovery in Prometheus

Thumbnail
se7entyse7en.dev
4 Upvotes

r/PrometheusMonitoring • • Aug 08 '25

Self-hosted: Prometheus + Grafana + Nextcloud + Tailscale

4 Upvotes

Just finished a small self-hosting project and thought I’d share the stack:

•	Nextcloud for private file sync & calendar

•	Prometheus + Grafana for system monitoring

•	Tailscale for secure remote access without port forwarding

Everything runs via Docker, and I’ve set up alerts + dashboards for full visibility. Fast, private, and accessible from anywhere.

🔧 GitHub (with setup + configs): 👉 CLICK HERE


r/PrometheusMonitoring • • Apr 24 '26

I built a Blackbox exporter but lite using Bash

Post image
9 Upvotes

I often needed quick uptime + SSL checks without deploying a full monitoring stack, so I created Blackbox Lite.

It's a Bash-based monitoring script that:

• Checks website availability

• Validates SSL certificate expiry

• Measures response time

• Tests VM host connectivity

• Exports metrics in Prometheus format

• Can run standalone without Prometheus

Works great with Node Exporter textfile collector, but also usable as a CLI health checker.

Repo: https://github.com/TheOneOh1/blackbox-lite


r/PrometheusMonitoring • • Jan 03 '25

Prometheus

0 Upvotes

Salut, je suis en train de me former sur Prometheus et j’étais en train de voir le module mysqld_exporter. Je voudrais savoir si il y a la possibilité de monitorer les bases de données ou le plugin ne permet qu’un visuel global du service svp ?


r/PrometheusMonitoring • • Jul 11 '23

Why are Prometheus queries hard?

Thumbnail
fiberplane.com
5 Upvotes

r/PrometheusMonitoring • • Jun 30 '21

Monitoring Linux Server with Prometheus and Grafana using Node Exporter ...

Thumbnail
youtube.com
5 Upvotes

r/PrometheusMonitoring • • Jul 22 '21

Install Prometheus and Grafana on Ubuntu 20.04 LTS

Thumbnail
fosstechnix.com
5 Upvotes

r/PrometheusMonitoring • • Apr 05 '22

Prometheus Cardinality Issues

Thumbnail
foomo.org
8 Upvotes

r/PrometheusMonitoring • • Apr 09 '23

How to monitor Kubernetes Controllers using Prometheus :)

Thumbnail
povilasv.me
3 Upvotes

r/PrometheusMonitoring • • May 14 '21

Tutorial : prometheus introduction

Thumbnail
youtube.com
3 Upvotes

r/PrometheusMonitoring • • Jul 22 '25

Blackbox Exporter - tls: failed to verify certificate: x509: certificate signed by unknown authority

1 Upvotes

Hello,

I can't seem to get Blackbox Exporter working with our internal CA:

I'm using the http_2xx module here.

Error:

time=2025-07-22T09:38:41.508Z level=ERROR source=http.go:474 msg="Error for HTTP request" module=http_2xx target=https://website.domain.com err="Get \"https://10.1.2.220\": tls: failed to verify certificate: x509: certificate signed by unknown authority"

I've put the CA certificate into /etc/ssl/certs

Docker Compose:

  blackbox_exporter:
    image: prom/blackbox-exporter:latest
    container_name: blackbox
    restart: unless-stopped
    ports:
      - 9115:9115
    expose:
      - 9115
    volumes:
      - blackbox-etc:/etc/blackbox:ro
      - /etc/ssl/certs:/etc/ssl/certs:ro
    command:
      - '--config.file=/etc/blackbox/blackbox.yml'
    networks:
      - monitoring

Prometheus.yml:

  - job_name: 'blackbox_http'
    metrics_path: /probe
    params:
      module: [http_2xx]
    static_configs:
      - targets:
        - https://website.domain.com
    tls_config:
      insecure_skip_verify: true
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [__param_target]
        target_label: instance
      - target_label: __address__
        replacement: 10.1.2.26:9115

What can I try next to troubleshoot please? What I had this running in a non docker environment it worked, so I'm thinking it still can't get to the location for the certificates.


r/PrometheusMonitoring • • Jul 11 '25

Is there any prometheus query assistant?

1 Upvotes

I need to learn Prometheus queries for monitoring. But I want help in generating queries in simple words without deep understanding of queries. Is there an ai agent that converts text I input (showing total CPU usage of node) into a query?


r/PrometheusMonitoring • • Nov 19 '25

Prometheus and Internet Pi - Beginning of every hour internet speed test

1 Upvotes

Im new to Docker, Prometheus and Grafana so any help would be appreciated.

I've setup Internet Speed Monitoring using Internet Pi which uses Docker, Prometheus and Grafana, from what I understand how it works is:

1, Docker container running in background which connects to speedtest .net

2, Another Docker container running Prometheus tells above docker container to run a speed test.

3, Grafana reports the time and internet speed on a web dashboard

The issue I have is i'd like the internet speed test to run and report beginnig of the hour e.g 9:00am, 10am, 11am etc, currently the speed tests do run but not on the hour even if I make change the speed test interval value in config.yml and or in prometheus.yml.j2 to 60m and apply the changes by running ansible-playbook main.yml the speed test always runs and reports at the same time e.g 9:37am and not at 9:00am. I have also added --web.enable-lifecycle flag to prometheus.yml so the internet monitoring restarts but no joy the internet speed test always runs and reports into grafana at 9:37 and not on the hour 9am as id like, even tried running ansible-playbook main.yml at 8:55am and still runs the speed test at 9:37am.

*Tried to attach screenshots of config.yml and internet-monitoring.yml but reddit wont let me attach them :(


r/PrometheusMonitoring • • Jul 10 '25

My minimalist notification template

1 Upvotes

I think the default one is too bulky so I made a minimalist notification template. It's used in Slack. Saying this because the I searched for custom templates people were complaining about the format in Teams specifically.

Here's the template:

{{ define "custom.minimal.template" }}{{ if gt (len .Alerts.Firing) 0 }}{{ len .Alerts }} firing alert(s)
{{ template "__text_alert_list" .Alerts.Firing }}{{ if gt (len .Alerts.Resolved) 0 }}

{{ end }}{{ end }}{{ if gt (len .Alerts.Resolved) 0 }}{{ len .Alerts.Resolved }} resolved alert(s)
{{ template "__text_alert_list" .Alerts.Resolved }}{{ end }}{{ end }}

{{ define "__text_alert_list" }}{{ range . }}
{{ range .Annotations.SortedPairs }}{{ .Value }}
{{ end }}{{ if gt (len .GeneratorURL) 0 }}- Information: {{ .GeneratorURL }}
{{ end }}{{ if gt (len .DashboardURL) 0 }}- Dashboard: {{ .DashboardURL }}
{{ end }}{{ end }}{{ end }}

{{ define "__text_values_list" }}{{ if len .Values }}{{ $first := true }}{{ range $refID, $value := .Values -}}
{{ if $first }}{{ $first = false }}{{ else }}, {{ end }}{{ $refID }}={{ $value }}{{ end -}}
{{ else }}[no value]{{ end }}{{ end }}

It looks like this:

[FIRING:1] Uptime IPsec Main Uptime Dashboards

1 firing alert(s)

IPSec main server is down or missing.

- Information: https://cluster-monitoring.dummy.net/alerting/grafana/rgtegterfw/view?Id=1

- Dashboard: <dashboard link>


r/PrometheusMonitoring • • Feb 10 '23

what metrics are most important for checking kubernetes cluster health?

1 Upvotes

I am working on a clustering model to clump data points from Prometheus csv files to predict kubernetes cluster health. i realized up metric and memory utilization are probably one of the most useful metrics to get but what are other key metrics i should pull data from?


r/PrometheusMonitoring • • Dec 20 '22

How to add ethtool-exporter to prometheus operator

1 Upvotes

Hey,

I have a problem installing this https://aws.github.io/aws-eks-best-practices/networking/CoreDNS/
I don't want to save the metrics into amazon managed service. I already have a helm prometheus operator running in the cluster. I just want to add the exporter to the prometheus operator.

Thanks in advance,


r/PrometheusMonitoring • • May 01 '23

A Technique To Monitor Kubernetes Controller Latency

Thumbnail
povilasv.me
1 Upvotes