Questions tagged [prometheus]

For questions about Prometheus, an open-source systems monitoring and alerting toolkit.

Filter by
Sorted by
Tagged with
4
votes
2answers
60 views

What is the Prometheus and Grafana ideal setup?

I am just wondering. If I have many environments monitored via Prometheus, what will be the best configuration? The security and efficiency are already important for on-premise installations but ...
0
votes
0answers
18 views

How to monitor all containers of a scaled microservice with Prometeus?

I'm thinking on using prometheus as monitoring metrics from java applications, in swarm. What happens if i scale up the service? The 12345 port is exposed and swarm is act as a loadbalancer as well. ...
1
vote
1answer
121 views

What is Unit testing in the context of YML configuration Alerting rules?

I read a very short blog posting about Unit testing alerts with Prometheus Can you explain me why I need unit testing for *.yml? What is the benefit of unit testing for configuration files? I not ...
0
votes
0answers
14 views

How to use the consul_io.py dynamic inventory script for grouping and for proper labelling in prometheus?

I've configured service-discovery in Consul for on-premiss servers in the company I work for and I'm using consul_io.py as a dynamic inventory script for Ansible. When I run the script, I get the ...
4
votes
1answer
26 views

Using Prometheus to monitor Spring Boot Applications in Kubernetes Cluster

I have spring boot powered microservices deployed in my local kubernetes cluster. The microservices are using micrometer and prometheus registry but due to our company policy the actuator is available ...
2
votes
0answers
34 views

Grafana sometimes can't resolve prometheus hostname [closed]

Scenario I deploy grafana and prometheus onto EKS cluster (AWS K8s service). If I use prometheus service's fqdn (prometheus-server.monitoring.svc.cluster.local) as the data source, grafana sometimes ...
0
votes
0answers
52 views

Replace/Consume Istio's Prometheus/Grafana by existing Prometheus-operator

I have multiple K8S clusters that have Prometheus-operator Helm chart installed in monitoring namespace. Each operator consists of Prometheus/Alertmanager/Grafana. Aside from it I have Istio Helm ...
0
votes
1answer
19 views

Gather resource usage by process in a kubernetes cluster

I am searching for a tool similar to Prometheus + Grafana that gather and record resource usage especially memory usage by process-ID or process-name. We have two components that are running ...
0
votes
0answers
15 views

Prometheus counters decreasing, Systemd spawns ~30 tasks

I'm fairly new to intricacies of Prometheus, so I'm unsure if this behavior is caused by Systemd having many tasks for the unit, or something else. Stack: Ubuntu 18.04 Linux Container Single ...
3
votes
1answer
367 views

How to calculate disk space required by Prometheus v2.2?

We are trying to calculate the storage requirements but is unable to find the values needed to do the calculation for our version of Prometheus (v2.2). Prometheus(v2.2) storage documentation gives ...
1
vote
1answer
71 views

Expose metrics for Kotlin using JMX_Exporter to prometheus

I am trying to use JMX_Exporter for my kotlin code to expose metrics to prometheus in order to show it in Grafana. I have gone through many articles and tried to understand how could it be done. I ...
2
votes
0answers
222 views

How to calculate burn rate for SLOs?

I've read the Google SRE book a few times but I need some clarifications on exactly how to set up the burn rate and understanding how long it'll take to trigger an alert. Most of my questions are ...
1
vote
2answers
60 views

What is the advantage of using Prometheus over ingesting metrics using logs?

I want to setup monitoring on our environment. I am wondering on what are the advantages of using something like Prometheus for making metrics vs. just using something like the ELK stack for creating ...
5
votes
1answer
931 views

Why is Prometheus not a good choice for data with high cardinality?

I have a background in relational databases and new to Prometheus. I wonder why Prometheus is not a good choice for high cardinality data? Why do I need to use low cardinality data? It's exact ...
3
votes
1answer
2k views

Prometheus alert CPUThrottlingHigh raised but monitoring does not show it

I have installed Prometheus to monitor my installation and it is frequently raising alerts about CPU throttling. The Prometheus alert rules to identify this alert is : alert: CPUThrottlingHigh expr: ...
2
votes
1answer
29 views

Which libraries generate observability metrics for applications in the cluster to prometheus?

I recently read "Cloud Native DevOps with Kubernetes" by O'reily and it mentions the RED and USE metrics which are a good starting point for gaining better observability into the system, however I'm ...
1
vote
1answer
273 views

Keeping graphs of terminated Kubernetes pods in Prometheus/Grafana

I love using Prometheus/Grafana to monitor and tune resource usage on my Kubernetes clusters. When pods are terminated, however, the graphs are disposed of it seems. I am looking for a solution to ...
3
votes
1answer
173 views

Does Prometheus expose the Horizontal Pod Autoscaler's “Current CPU Utilization” as shown in the Kubernetes dashboard?

In the Kubernetes dashboard, I can see for a HPA the following information: Min Replicas: 3 Max Replicas: 11 Target CPU Utilization: 80% Status Current Replicas: 3 Desired Replicas: 3 Current CPU ...
1
vote
0answers
51 views

How do I set up a Prometheus rule to routinely scrape an HTTP endpoint? [closed]

I'm getting started with Prometheus (Prometheus Operator), and I'm looking at adding it to an existing cluster, where each container has a /healthcheck endpoint, that is going to either return true, ...
1
vote
2answers
175 views

Jenkins plugin recomendation

My company wants to visualize the % of failed/successful deployments of jenkins jobs. And the way jenkins is arranged complicates the task, each team or project is a folder name and inside the ...
3
votes
1answer
805 views

How fast does Prometheus data grow?

This may sound like a vague question so I will provide some context below. The basic question is : What parameters describe the growth in size of a Prometheus database over time? To tie the question ...
3
votes
1answer
488 views

How to get hostname from node-exporter in Docker Swarm?

I have setup my monitoring with the cadvisor, node-exporter, prometheus, grafana stack in my clustered environment using docker swarm. What is the easiest way to get my actual hostnames picked up by ...
2
votes
1answer
310 views

What is a good storage for storing performance results and visualizing in grafana

Intro I am a tester and need to analyze the results of automated tests (response times and etc.) Current situation 1) I run performance tests using locust.io 2) During test execution, response ...
1
vote
1answer
183 views

Local Prometheus and Grafana Installations to Monitor a Kubernetes Cluster

We want to start our monitoring off the cluster on a local server. Is this practical and will it be feasible and reasonable to hook local Prometheus and Grafana installations into a Kubernetes ...
5
votes
4answers
164 views

How to find interdependencies between pods in a Kubernetes cluster?

Two Pods run in a Kubernetes cluster. One is a simple Wordpress application and the other a Mysql database. The Wordpress Pod communicates with the Mysql database. The aim is to find dependencies ...
13
votes
3answers
5k views

How do I troubleshoot missing data in my Prometheus database?

I have been gradually integrating Prometheus into my monitoring workflows, in order to gather detailed metrics about running infrastructure. During this, I have noticed that I often run into a ...