Questions tagged [prometheus]

The Prometheus monitoring system.

117 questions
1
vote
1 answer

Still can't connect from my grafana docker container to prometheus

...after having followed a bunch of tutorials, e.g. https://medium.com/@TimvanBaarsen/how-to-connect-to-the-docker-host-from-inside-a-docker-container-112b4c71bc66 I started the grafana container with: %box docker run -d -p 3000:3000…
transient_loop
  • 459
  • 1
  • 4
  • 11
1
vote
0 answers

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,327
  • 4
  • 36
  • 72
1
vote
0 answers

Prometheus alert rule test fails with long intervals

I've got an alert rule: groups: - name: somename rules: - alert: CertificateExpiry expr: certificate_expires_in_days < 20 for: 1h labels: …
badbishop
  • 898
  • 3
  • 11
  • 21
1
vote
1 answer

Why does my prometheus dashboard only show 2 weeks of data when I have longer term data available?

I have Prometheus configured with Thanos. I'm using the Node Exporter Full dashboard to view data from the node exporter. Regardless of what time range I select (e.g., now-20d), the dashboard only shows 2 weeks of data: If I go to the "Explore" UI…
larsks
  • 41,276
  • 13
  • 117
  • 170
1
vote
1 answer

Why K8S statefulsets volumeClaimTemplates status is pending , but the pod, pvc, pv are all fine?

I use nfs-subdir-external-provisioner as automatic pv provisioner for my promethues (by promethues-operator ) I have created our sts,pod,pvc,pv successfully and everything looks fine. But if I use kubectl get sts -o yaml , the status is still …
Jeffery
  • 13
  • 2
1
vote
2 answers

Prometheus not connected to alert manager in GKE

I installed kube-prometheus-stack 15.3.1 into a GKE cluster using helm (in "monitoring" namespace). I used the values.yaml to open up ingresses on some of the components and to add SMTP info and reciever details into the alert manager. For the most…
1
vote
0 answers

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
  • 111
  • 1
1
vote
1 answer

Prometheus auto scrape metrics from multiple kube-state-metrics in kubernetes?

I want to use a kubernetes(cluster-0)with multiple kube-state-metrics to monitor multiple other kubernetes cluster(cluster-1,2,3,4) In the (cluster-0), I split into multiple namespaces like this: namespace: monitor (here I will run prometheus to…
1
vote
1 answer

Prometheus: Get CPU Usage % for one specific process from windows_exporter

I am trying to develop one query to show the CPU Usage(%) for one specific process in one windows server. After digging into the metrics of windows exporter, I found Metric: process.windows_process_cpu_time_total should be the one. I tried several…
Sphinx
  • 141
  • 2
  • 8
1
vote
2 answers

Breaking down one prometheus.yml file?

I am using Prometheus for our monitoring and I have a lot of configs (our prometheus.yml main config file is 8000+ lines long). I would like to divide this out into logical groupings so that it becomes much readable. I came to know that Prometheus…
1
vote
2 answers

What does it mean to have more than one instance of Prometheus in Kubernetes

Suppose I'm using a volume to persist my Prometheus data, I wonder if I can have more than one instance of it running to have high availability. I believe only one instance of Prometheus must be in charge of writing to the tsdb series, and having…
Ali Tou
  • 111
  • 1
  • 4
1
vote
2 answers

Missing metrics for "kubelet_volume_*" in Prometheus

I setup latest https://github.com/coreos/kube-prometheus/ in an AWS EKS cluster in which I'm using the Amazon EBS CSI driver for persistent volume claims, but I don't see any "kubelet_volume_*" metrics being available in prometheus. According to…
Catalin
  • 21
  • 4
1
vote
0 answers

kube-state-metrics doesn't show hardware utilization

I installed this yamls https://github.com/kubernetes/kube-state-metrics/tree/master/examples/standard I can see CPU per pod utilization only from system pods such as: calico-node, coredns,…
user227685
  • 11
  • 3
1
vote
1 answer

Gitlab prometheus error after upgrade with apt-get upgrade

after upgrading my gitlab from 10.9.2 to version 10.10 on my Ubuntu 18.04 it was not possible for the apt-get upgrade process to end successfully. It ended with following message: Ensuring Prometheus is updated:Traceback (most recent call last): …
eragon-2006
  • 117
  • 3
1
vote
0 answers

Monitoring SLA/SLO/SLI using Prometheus

I have done much research about monitoring SLI metrics with Prometheus. I have found only how to monitor a cluster using Kubernetes. I'm hoping to find a response here for simple monitoring. I also want to know which is better for that using the…