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 is an open source metric analytics & visualization suite. It is most commonly used for visualizing time series data for infrastructure and application analytics but many use it in other domains including industrial sensors, home automation, weather, and process control.

Latest stable version:

  • Grafana v8.5

References

Related Tags

5538 questions
13
votes
1 answer

How do I resolve /kubepods/besteffort/pod to a pod name?

I'm looking at Prometheus metrics in a Grafana dashboard, and I'm confused by a few panels that display metrics based on an ID that is unfamiliar to me. I assume that /kubepods/burstable/pod99b2fe2a-104d-11e8-baa7-06145aa73a4c points to a single…
erstaples
  • 1,986
  • 16
  • 31
13
votes
3 answers

Grafana HTTP Error Bad Gateway and Templating init failed errors

Use helm installed Prometheus and Grafana on minikube at local. $ helm install stable/prometheus $ helm install stable/grafana Prometheus server, alertmanager grafana can run after set port-forward: $ export POD_NAME=$(kubectl get pods --namespace…
online
  • 4,919
  • 10
  • 32
  • 47
13
votes
3 answers

How to use grafana-cli on docker installed Grafana?

I have installed grafana via docker. Is it possible to export and run grafana-cli on my host?
northtree
  • 8,569
  • 11
  • 61
  • 80
13
votes
3 answers

How to show "33 minutes ago" on Grafana dashboard with InfluxDB?

I have recently set up Grafana with InfluxDB. I'd like to show a panel that indicates how long it has been since an event took place. Examples: Server last reported in: 33 minutes ago Last user sign up: 17 minutes ago I can get a single metric…
PaulMest
  • 12,925
  • 7
  • 53
  • 50
12
votes
0 answers

Grafana Loki LogQL: How to parse log lines with different log formats?

We have different type of logs for one and the same application. Some are coming from our application which logs in a JSON format and others are different types of log messages. For example these 3 log lines: "{\"written_at\":…
Spenhouet
  • 6,556
  • 12
  • 51
  • 76
12
votes
2 answers

Grafana Prometheus Counter

I have trying to get exact count for an event in a Grafana visualization using Prometheus as timeseries DB. But the counter is showing incorrect records. I am getting a higher count for 2 days that I am getting 7 days, which definately points to…
user7510999
  • 351
  • 1
  • 4
  • 12
12
votes
5 answers

Filter vector based new label introduced by `label_replace`

In Prometheus I'm trying to merge multiple http request lines into groups using…
Victor
  • 121
  • 1
  • 4
12
votes
1 answer

Using InfluxDB subquery to subtract values

I have a Influx database that is getting filled with values. These values are presented by Grafana. What I need is to get the actual values depending on the selected time interval. Currently I have the following query for a single metric: SELECT…
Nhz
  • 131
  • 1
  • 6
12
votes
3 answers

How to completely uninstall grafana?

In Ubuntu 14.04, I installed grafana like below: dpkg -i grafana_4.1.2-1486989747_amd64.deb I am trying to uninstall it. I tried: sudo apt-get remove --auto-remove grafana sudo apt-get purge --auto-remove grafana sudo apt-get autoclean sudo apt-get…
rajagopalx
  • 3,012
  • 9
  • 41
  • 52
12
votes
2 answers

What is the best way to migrate grafana to a newer version?

What is the best-practice in terms of migrating grafana (configuration, dashboards etc.) to a a newer version ? I want to migrate a v3 grafana installation to a new server which will be running the v4 codebase with alerting! According to the docs,…
blak3r
  • 16,066
  • 16
  • 78
  • 98
11
votes
1 answer

Grafana Timeout while querying large amount of logs from Loki

I have a Loki server running on AWS Graviton (arm, 4 vCPU, 8 GiB) configured as following: common: replication_factor: 1 ring: kvstore: store: etcd etcd: endpoints: ['127.0.0.1:2379'] storage_config: boltdb_shipper: …
Tanmay
  • 355
  • 5
  • 12
11
votes
2 answers

A regex in query in Grafana

I am a new developer in Grafana and I would like to have a query that returns a variable having "CA" at the END of its name. I was using SEARCH key code but it seems that it returns only the contained characters while I am really interested in the…
salamanka44
  • 904
  • 3
  • 17
  • 36
11
votes
2 answers

Grafana - Import dashboard as part of docker-compose

Is it possible to import a dashboard when building my docker image for Grafana. My docker-compose.yml currently looks like this: # /docker-compose.yml version: "3" services: grafana: image: grafana/grafana:latest ports: …
userMod2
  • 8,312
  • 13
  • 63
  • 115
11
votes
1 answer

When to use sum_over_time vs increase Promql Grafana

I am a little unclear on when to exactly use increase and when to use sum_over_time in order to calculate a periodic collection of data in Grafana. I want to calculate the total percentage of availability of my system. Thanks.
pixelWorld
  • 329
  • 2
  • 17
11
votes
2 answers

Grafana: Add annotation on multiple panels at once

I would like to add an annotation on all panels (graphs) in the Grafana dashboard. I could add annotations manually one-by-one on all panels -- but I hope there is a better way how to do it although I didn't find any information in the official…
mrek
  • 1,655
  • 1
  • 21
  • 34