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
114
votes
5 answers

Is it possible to duplicate a dashboard in grafana?

I need to create a dev dashboard very similar to an existing prod one, and was wondering if there was an easy way of copying the existing dashboard. Any help would be greatly appreciated!
mohit6up
  • 4,088
  • 3
  • 17
  • 12
98
votes
12 answers

What is the default username and password for Grafana login page?

what is default username and password for Grafana for http://localhost:3000/login page ? attaching a home page screenshot also. I want to watch mySql database for through it.
Jabongg
  • 2,099
  • 2
  • 15
  • 32
83
votes
6 answers

How to set up Grafana so that no password is necessary to view dashboards

Despite these settings, Grafana still requires the use of a password to view Dashboards. Can someone please help me with the correct settings? [auth.anonymous] # enable anonymous access enabled = true [auth.basic] enabled = false
Michael Manoochehri
  • 7,931
  • 6
  • 33
  • 47
74
votes
6 answers

pq: could not resize shared memory segment. No space left on device

I have on a dashboard, a number of panels (numbering around 6)to display data points chart making queries to dockerised instance of PostgreSQL database. Panels were working fine until very recently, some stop working and report an error like…
arilwan
  • 3,374
  • 5
  • 26
  • 62
61
votes
4 answers

Prometheus query to count unique label values

I want to count number of unique label values. Kind of like select count (distinct a) from hello_info For example if my metric 'hello_info' has labels a and b. I want to count number of unique a's. Here the count would be 3 for a = "1", "2", "3".…
emperorspride188
  • 819
  • 1
  • 8
  • 13
60
votes
9 answers

How do I write a Prometheus query that returns the value of a label?

I'm making a Grafana dashboard and want a panel that reports the latest version of our app. The version is reported as a label in the app_version (say) metric like so: app_version_updated{instance="eu99",version="1.5.0-abcdefg"} I've tried a number…
kmoe
  • 1,963
  • 2
  • 15
  • 27
43
votes
2 answers

What does the "instant" checkbox in Grafana graphs based on prometheus do?

I have no clue what the option "instant" means in Grafana when creating graph with Prometheus. Any ideas?
eventhorizon
  • 2,977
  • 8
  • 33
  • 57
40
votes
1 answer

How do I write an "or" logical operator on Prometheus or Grafana

I need to write a query that use any of the different jobs I define. {job="traefik" OR job="cadvisor" OR job="prometheus"} Is it possible to write logical binary operators?
Asier Gomez
  • 6,034
  • 18
  • 52
  • 105
34
votes
3 answers

How to use the selected period of time in a query?

I'm using Grafana with Prometheus and I'd like to build a query that depends on the selected period of time selected in the upper right corner of the screen. Is there any variable (or something like that) to use in the query field? In other words,…
Facundo Chambo
  • 3,088
  • 6
  • 20
  • 25
34
votes
4 answers

Monitoring log files using some metrics exporter + Prometheus + Grafana

I need to monitor very different log files for errors, success status etc. And I need to grab corresponding metrics using Prometheus and show in Grafana + set some alerting on it. Prometheus + Grafana are OK I already use them a lot with different…
JosMac
  • 2,164
  • 1
  • 17
  • 23
34
votes
4 answers

How can I visualize a histogram with Promdash or Grafana?

I'm attracted to prometheus by the histogram (and summaries) time-series, but I've been unsuccessful to display a histogram in either promdash or grafana. What I expect is to be able to show: a histogram at a point in time, e.g. the buckets on the…
TvE
  • 1,016
  • 1
  • 11
  • 19
33
votes
3 answers

How to edit the link in a slack notification from Grafana

We are using Grafana 4 and have implemented alert notifications to a slack channel through an Incoming Webhook. The notifications are sent as and wen expected, except that the link in the notification points to the wrong place. For instance, if you…
quiram
  • 746
  • 1
  • 7
  • 18
31
votes
4 answers

Grafana: Template variables are not supported in alert queries

Hi I want to create a simple alert in grafana to check whether there is no data for the last 5 minutes. But I get an error Template variables are not supported in alert queries Well, according to this issue templates are not supporting in grafana…
Daniel Chepenko
  • 2,229
  • 7
  • 30
  • 56
29
votes
3 answers

Get total and free disk space using Prometheus

I try to get Total and Free disk space on my Kubernetes VM so I can display % of taken space on it. I tried various metrics that included "filesystem" in name but none of these displayed correct total disk size. Which one should be used to do…
Uliysess
  • 579
  • 1
  • 8
  • 19
28
votes
2 answers

Integrating Grafana into a web app

A little background, I have been working with BCI (brain computer interface) and multi channel EEG to monitor brain activity. When the user starts a session with the BCI cap on, the raw data streaming from each channel is stored into Influxdb. I…
Corleone
  • 361
  • 1
  • 3
  • 6
1
2 3
99 100