Questions tagged [prometheus]

The Prometheus monitoring system.

136 questions
3
votes
1 answer

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 taken to process each request in access log file.…
Ninja
  • 31
  • 1
  • 4
3
votes
1 answer

Kubernetes Nginx Ingress Controller Metrics

I've tried to find a documentation about the metrics exposed by the NGINX ingress controller in Kubernetes but so far I haven't found any reliable source about the metrics and what they mean. For example, there are three different request_size…
3
votes
3 answers

Netdata, prometheus and grafana - why recommended in this constellation?

Currently I do setup monitoring-service for our Server. I've found some articles, which recommend to use: Netdata, prometheus and grafana So I wonder what are the benefits to use all three of them. Can anybody explain it to me, why prometheus and…
suther
  • 143
  • 1
  • 9
3
votes
3 answers

How do I configure the log level of Prometheus' Alertmanager?

I've set up Prometheus' Alertmanager to, well, manage alerts from Prometheus. I've got the alerts coming in from Prometheus to Alertmanager, but there the story ends. The alerts never get sent on by Alertmanager to my email endpoint. In order to…
Rovanion
  • 609
  • 3
  • 7
  • 22
2
votes
2 answers

How to visualize current CPU usage of a pod with Grafana

Is there a way to visualize current CPU usage of a pod in a K8S cluster? I tried different Prometheus metrics like namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate and other similar ones, but I always get average value…
Volodymyr Melnyk
  • 577
  • 1
  • 5
  • 19
2
votes
1 answer

How do I configure Prometheus for aggregated metrics?

I have five related questions around the configuration of Prometheus for aggregated metric reception. There are some invariants in my system: Python server code that needs to be instrumented Prometheus service that needs to get aggregated metrics…
Reinderien
  • 212
  • 3
  • 14
2
votes
2 answers

Prometheus container connection refused

I have prometheus , nginx-vts , php and nginx-vts-exporter all in separated containers i'm trying to get metrics to prometheus from the exporter ,, it keeps telling me Get http://127.0.0.1:9913/metrics: dial tcp 127.0.0.1:9913: connect:…
Tyr_90
  • 21
  • 1
  • 1
  • 3
2
votes
1 answer

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 options that let me see the current state of all…
Plato
  • 191
  • 1
  • 1
  • 4
2
votes
4 answers

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 version 1.5.2+ds (branch: debian/sid, revision:…
Drux
  • 656
  • 1
  • 9
  • 24
2
votes
1 answer

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 reconfiguration: sudo gitlab-ctl reconfigure After…
Giox
  • 133
  • 1
  • 6
2
votes
0 answers

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 "mytask" { driver = "docker" config { …
DaDaDom
  • 532
  • 6
  • 17
2
votes
2 answers

Debugging Prometheus OOMkilled despite 6Gi limits

I'm at the end of my patience with a prometheus setup leveraging kube-prometheus-stack 44.3.0 (latest being 45). I have two environments, staging and prod. In staging, my prometheus runs smoothly. In prod it has started crashing with OOMKilled…
Liquid
  • 131
  • 3
2
votes
0 answers

Does Prometheus efficiently compress series of identical samples?

Does Prometheus efficiently store and de-duplicate long repeats of identical sample values for a metric? I'm working with a system where some of the inputs change at a low frequency - say every 30 minutes - but others change at a high frequency like…
Craig Ringer
  • 11,083
  • 9
  • 40
  • 61
2
votes
1 answer

getting prometheus metrics from pdns

Running pdns v4.7.0-0.alpha0.master. Have enabled web server and can see ports 8081, 8081 and 8082 (from localhost login). When I try to get /metrics from there (via curl) I get either "connection refused" or "Not found". Anyone had success with…
ethrbunny
  • 2,369
  • 4
  • 41
  • 75
2
votes
1 answer

How are Prometheus Snapshots stored on disk?

I am trying to understand how to scale my Prometheus and look at the storage mechanic for this. Lets assume the following: Prometheus data storage Directory: 20GB in size Snapshots amount: 3 Snapshot Size: 18GB each Question: Without symlinks, how…
Panade
  • 121
  • 1
1
2
3
9 10