Questions tagged [prometheus]
The Prometheus monitoring system, including the server, alert manager, push gateway, exporters, client libraries and other components.
prometheus
7,002
questions
0
votes
0
answers
3
views
How to enrich one prometheus metric with another?
I have a counter metric which publishes details about a template such as its name, id which I am publishing from one micro-service. Something like template_details_total{id='1', name='t_name'}. I have ...
0
votes
0
answers
12
views
PromQL query for specific duration
Stuck on a simple task.
The request should only be processed if the request condition is true for more than 10 minutes.
Let's say
cpuLoad{instance="1.1.1.1"}>80
It should be output only ...
0
votes
0
answers
19
views
Implement prometheus and garafana for a ruby on rails application [closed]
I am looking for a help to implement prometheus and garafana in my rails app. I have tried using prometheus-client and yabeda-prometheus gem. I have also tried with prometheus-exporter gem but all in ...
0
votes
0
answers
13
views
How to know where the metrics in istio dashboard are in grafana or prometheus
I want to know how certain metrics in istio's kiali dashboard are searched for in prometheus or Grafana, such as full duration in applications-traces and how to calculate the response time of ...
0
votes
0
answers
29
views
promQL or metricsQL subtract two time series
Preface
My distributed server application emits a gauge for each active client. I want to see which clients are active against 2 nodes simultaneously. So I have a promQL query like so:
count by (...
0
votes
1
answer
20
views
Got ClassCastException in latest prometheus and micrometer
I upgraded my project's Maven dependencies to Spring Boot 3, so I needed to upgrade Prometheus and Micrometer to version 1.10 or higher as well.
When all these were done, my Spring Boot application ...
0
votes
0
answers
17
views
Request canceled (Client.Timeout exceeded while awaiting headers)
I have a complex Prometheus query that runs successfully and quickly in Thanos but consistently times out in Grafana on big time range like 120 days. The query is as follows:
avg(sum_over_time(
(sum ...
1
vote
0
answers
23
views
What's wrong with my alert when a status changes?
I'm new to Grafana, and quickly realizing I may not have a great grasp on how alerts and/or Prometheus data are evaluated, so forgive my ignorance. I've tried to set up an alert, but it never fires. ...
-1
votes
0
answers
28
views
Kubernetes CronJob - Email alert system advice [closed]
I’m pretty new to k8s. I can see there’s lots of options available for configuring the sending of email alerts for k8s cron jobs. Just need some advice on which ones are out there and what I might ...
0
votes
0
answers
17
views
CoreDNS or kube-dns Prometheus scrape config using kubernetes_sd_configs
Some K8s distributions has kube-dns and some are coredns
I am planing to fetch Kube-dns or coredns Prometheus metrics usibg kubernetes_sd_configs scrape configuration (part of OpenTelemetry Prometheus ...
-2
votes
0
answers
46
views
"There was an error returned querying the Prometheus API" in Grafana when creating new Prometheus Datasource
I am new both to Grafana and Prometheus. Since I want to set alarm for one of my visualizations in Grafana, I am integrating my FROST server's Datastreams directly with Prometheus and exposing the ...
-1
votes
0
answers
19
views
Script to Deploy Grafana Dashboard with PromQL and Alert Queries [closed]
I'm looking to build a script that can deploy a Grafana dashboard with PromQL queries and alert queries all in one go. The idea is to automate the deployment process so that I can simply call the ...
1
vote
0
answers
22
views
How to get Fluint-bit logs are get in the Grafana without install Prometheus?
I install first of all Fluint-bit and i changes on the value.yaml of Fluint-bit.
And I install Grafana and i login in Grafana dashboard successfully and than i first of all add Data Source in Grafana.
...
0
votes
1
answer
37
views
what is the kube-prometheus-stack (helm-chart) compatible version for eks 1.29?
I am looking to upgrade my eks from 1.27 to 1.29. So I would like to know the compatible version of kube-prometheus-stack helm chart. Please provide me the link or help me in suggesting the version.
0
votes
0
answers
13
views
How to restrict metrics exposed by Prometheus' JMX exporter
I am trying to use the JMX Exporter to get some MBean metrics exposed from inside a JVM application. I wanted to get only one metric for now, so I created this config file:
lowercaseOutputLabelNames: ...