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
11
votes
1 answer

Converting seconds to HH:MM:SS using Prometheus & Grafana

I'm trying to show system uptime as DD-HH-MM-SS format, doing it using common code wouldn't be an issue but I'm doing it using Prometheus (PromQL) and Grafana only, here's the PromQL…
argamanza
  • 1,122
  • 3
  • 14
  • 36
11
votes
3 answers

how to install latest version of prometheus/promtool in ubuntu?

I downloaded my prometheus version is 2.3.2 wget https://github.com/prometheus/prometheus/releases/download/v2.3.2/prometheus-2.3.2.linux-amd64.tar.gz untared and prometheus already running as service. I want to verify my Prometheus alert manager…
anand babu
  • 335
  • 1
  • 3
  • 13
11
votes
3 answers

Prometheus query for table in grafana

When i make a table panel and go to "Options" tab, columns parameter set to Auto: Columns and their order are determined by the data query. Is there a doc on how write prometheus queries for grafana tables? My prometheus data is a metric with 2…
lacerated
  • 375
  • 1
  • 4
  • 17
11
votes
3 answers

Tracking events with prometheus and grafana

There's an article "Tracking Every Release" which tells about displaying a vertical line on graphs for every code deployment. They are using Graphite. I would like to do something similar with Prometheus 2.2 and Grafana 5.1. More specifically I want…
and
  • 2,024
  • 3
  • 24
  • 31
11
votes
2 answers

Clear old data in Grafana

I'm using Prometheus and Grafana for monitoring the servers. Grafana data were stored in /home/user/data folder. This folder occupied the majority of the file system . Need to remove the old data in Grafana data folder ( Data which is older than a…
soundararajan.c
  • 2,538
  • 6
  • 29
  • 51
11
votes
0 answers

Graphite - offset series by standard deviation of itself

I'm using Graphite and Grafana and I'm trying to plot a series against a time shifted version of itself for comparison. (I.e. is the current value similar to this time last week?) What I'd like to do is plot; the 5 minute moving average of the…
Steve365
  • 329
  • 1
  • 9
11
votes
1 answer

How to display grafana graphs in my website's admin panel securely?

I have created a few nice plots in grafana. I want to display some of them directly in my website's admin panel instead of forcing users to go to the grafana dashboards and forcing them to double-authenticate (once for my website and once for…
fracz
  • 20,536
  • 18
  • 103
  • 149
11
votes
3 answers

How to completely copy Grafana dashboard(s) from one server to other server

I have 20 plus dashboards in Grafana hosting at Server1. We acquired another server and we did installed same version of Grafana on Server2 machine. I want to know is this possible that i can completely clone Server-1 Grafana instance along with all…
Ammad
  • 4,031
  • 12
  • 39
  • 62
11
votes
1 answer

Hide grafana panels based on selected template variable

I am trying to develop kind of dropdown list with metrics and accordingly to selected metric specific panel supposed to appear on dashboard. And vice versa if metric unselected, panel should be hidden. I found the link…
Andrey
  • 317
  • 1
  • 5
  • 19
11
votes
3 answers

Merge aliasByNode and aliasByMetric in Grafana backed by Graphite

I want to label series by hostname + metric name. I know I can use aliasByNode(1) to do first part and aliasByMetric() to do the second. Any ideas how can I merge those two functions in a single metric?
Jakub Kubrynski
  • 13,724
  • 6
  • 60
  • 85
11
votes
3 answers

npm install doesnt create dist folder

I am following this tutorial link to create a grafana plugin. But when I copy this code link from the tutorial to my test server(without the dist/ folder) and run npm install npm doesn’t create a new dist/ folder instead it creates a node_modules…
IIIIIIIIIIIIIIIIIIIIII
  • 3,958
  • 5
  • 45
  • 70
11
votes
1 answer

JS based influxdb graph editors like Grafana, Influga, are there reusable libraries?

I have been working with tools like grafana or influga, which are fantastic projects which facilitate the creation of dashboards with charts and various type of graphs. I was wondering, would it be possible to separate the 2 core features of these…
nemesisdesign
  • 8,159
  • 12
  • 58
  • 97
11
votes
2 answers

nginx 403 Forbidden error

I'm trying to set up graphite to work with grafana in docker based on this project : https://github.com/kamon-io/docker-grafana-graphite and when I run my dockerfile I get 403 Forbidden error for nginx. my configurations for nginx are almost the…
tyrell_c
  • 503
  • 3
  • 10
  • 24
10
votes
1 answer

Loki display log message and extra fields separately

In https://github.com/grafana/loki/issues/4249 I found interesting screenshot. On this screenshot I see that log level and message are displayed bold with white text and other metadata (collected from log message) displayed on separate line with…
Dm3Ch
  • 621
  • 1
  • 10
  • 26
10
votes
3 answers

Grafana state timeline panel with values (states) supplied by label

I do have a Prometheus time series with samples like these: a_metric{band="1", state="A"} 1 a_metric{band="2", state="C"} 1 a_metric{band="1", state="A"} 1 a_metric{band="2", state="C"} 1 a_metric{band="1", state="B"} 1 a_metric{band="1", state="B"}…
rookie099
  • 2,201
  • 2
  • 26
  • 52