Questions tagged [grafana]
Grafana is an open-source web application for visualizing time-series databases (InfluxDB, Graphite, Prometheus, OpenTSDB), logging & document databases (Loki, Elasticsearch, Splunk, MongoDB), SQL databases (MySQL, PostgreSQL, Redshift), cloud metric databases (AWS CloudWatch, GCP Monitoring, Azure Monitor) and other datasources.
grafana
5,942
questions
0
votes
0
answers
7
views
Grafana: Accessing Time Range from API?
I'm attempting to import the currently selected time range in a dashboard (in the upper right) into Python through the API.
From my understanding, the API can only retrieve the JSON of a dashboard, ...
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 ...
-1
votes
0
answers
12
views
my "lon" coordinate doesn't show up in a Geomap of Grafana
I have a problem with the geomap visualisation in grafana.
My data is stored in influxdb, It is stored as seen in this screenshot :
data query (lon and lat are float)
My problem is when I try to ...
0
votes
0
answers
15
views
Implement prometheus and garafana for a ruby on rails application
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
10
views
How to reference fields from different database1.collection1 to database2.collection in mongo db aggregation?
I have tried using lookup option to join 2 different collections under SAME database & that works. But is it possible to join fields from 2 different databases.collection in mongo db aggregation ? ...
0
votes
0
answers
7
views
How can i convert influxql to flux
I want convert influxql to flux.
SELECT mean("Percent_User_Time") AS "% User Time"
FROM "win_cpu" WHERE "host" =~ /^$hostname$/
AND $timeFilter
GROUP BY time($...
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 (...
-2
votes
0
answers
21
views
Long image rendering time when using Grafana image renderer plugin [closed]
The following configuration is available:
Grafana and Grafana Image Renderer are installed as separate pods in the same k8s namespace, Grafana has access via Service to the Grafana image renderer pod, ...
0
votes
0
answers
12
views
Grafana not picking up the url, username and password specified in datasource.yml
I have datasource.yml file in provisioning/datasources.
apiVersion: 1
datasources:
- name: 'MongoDB'
type: meln5674-mongodb-community
access: proxy
basicAuth: false
editable: true
...
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. ...
0
votes
0
answers
29
views
How to change background color in an embedded Grafana panel in an iframe?
I know many people have asked how to change the background color of dashboards, where suggestions like using the Boom panel come up. However, if embedding a single panel in an iframe, this option is ...
0
votes
0
answers
18
views
Is it possible to split columns or repeat horizontally in a Grafana table visualisation?
I have a table monitoring the online status of a group of devices. Currently it's 36 but will increase in the future. At the moment the table is one long column that I have to scroll through, or I ...
0
votes
0
answers
26
views
Unable to join ring - unknown message type G [closed]
I am attempting to deploy the LGTM stack to my RKE2 cluster, v1.28.5, with Cilium as the CNI with kube-proxy replacement, using Argo and the official Helm chart. I am overriding the global.dnsService ...
-2
votes
0
answers
45
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 ...