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
1
vote
0 answers

Grafana: How to avoid executing query while zoom in or out?

I have 4 timeseries panels in my dashboard and the query does not have any timefilter in it. So, all the data is fetched. Now, when ever I zoom in or out, these queries are re-executed. Since, they are going to fetch same results, there is no use in…
Selva
  • 951
  • 7
  • 23
1
vote
1 answer

grafana logql query using line_format and regexReplaceAll dynamically

I need to read my logs just like they were displayed in the application console. My grafana LogQL query looks like this : {job="myjob", host="myserver"} | json | line_format `{{ regexReplaceAll "{(.*?)}" .MessageTemplate "{{.Properties_${1}}}"…
A_V
  • 362
  • 1
  • 3
  • 19
1
vote
1 answer

How to automate Grafana dashboard creation for micrometer metrics?

I use micrometer specification to generate metrics and I want to automate my Grafana dashboards creation. There is dashboard generator but for microprofile apps. https://github.com/jamesfalkner/microprofile-grafana Any one can help please?
Laka
  • 21
  • 2
1
vote
2 answers

ServiceMonitor Prometheus not working in another namespace

I just installed prometheus operator as indicated here: https://github.com/prometheus-operator/kube-prometheus: kubectl apply --server-side -f manifests/setup kubectl wait \ --for condition=Established \ --all CustomResourceDefinition \ …
Joan
  • 101
  • 1
  • 9
1
vote
0 answers

Error while configuring Grafana SMTP with AWS SES

Below is the helm chart values configuration I am using to setup Grafana smtp settings grafana.ini: server: root_url: https://grafana.example.com smtp: enabled: true host: email-smtp.us-east-1.amazonaws.com:587 startTLS_policy:…
mair
  • 325
  • 1
  • 5
  • 14
1
vote
1 answer

What is the difference between monitoring and metering

I have a question. I want to know the differences between monitoring and metering In the developer's world. I think watching system logs, CPU usage, memory, and some other things using Grafana is Monitoring. But I can't catch the exact meaning and…
김대영
  • 143
  • 1
  • 7
1
vote
1 answer

How to filter prometheus series based on the results of another query in grafana dashboard?

I am using Grafana 9.3.1 for monitoring of our system. Among other things, I am trying to monitor the remaining FUP of a phone number for each unit we operate. Basically, we intend to use two data sources. Database mapping of the unit ID to its…
petrbel
  • 2,428
  • 5
  • 29
  • 49
1
vote
1 answer

Why Grafana duplicates legend on the dasboard but not in explorer mode?

when playing with a query in explore mode Grafana builds the correct legend: but when I use the same query on the dashboard as time-series graph legend is duplicated: The Prometheus query I use: sum…
gdulus
  • 55
  • 6
1
vote
1 answer

How can i get specific file size by using node_exporter?

How can I get file size for the specific file. For example, I need the file size of /var/lib/mysql/abcd /var/lib/mysql is the mount point. So I can get the file size of this directory. But how can i achive the /var/lib/mysql/abcd file…
Asuwini P
  • 31
  • 4
1
vote
0 answers

Alertmanager as alternate context (url/alertmanager) in ingress on k8s showing 404 not found

I have setup Prometheus grafana stack (helm charts, version 43.3.0) on kubernetes. The version is of prometheus used is v2.40.5. Alertmanager is v0.25.0. Installation is success. Able to access alertmanager when exposed the service type as…
Chanikya_Sai
  • 101
  • 1
  • 3
1
vote
1 answer

Alert when failure rate stays above 25% for 5 mins

I am trying to create an alert which will fire if the failure rate of requests made stays above 25% for 5 minutes, unless the total number of requests made in the 5 minutes is less than 10. I have a metric called result with the parameter…
KOB
  • 4,084
  • 9
  • 44
  • 88
1
vote
2 answers

Prometheus Query in Grafana filtering metrics between specific hours

I have the following query that I am using in Grafana with a Prometheus datasource: (probe_success{instance="$target"} == 0)[30d:1m] This query is returning the time series data for the probe_success metric over the last 30 days with a resolution…
C-nan
  • 312
  • 2
  • 10
1
vote
0 answers

yarn dev does not finish building plugin

I’m following the Grafana tutorial for buiding a new plugin (running Grafana v9.2.2 Node v16.18.1) but yarn dev is stuck at "No errors found." Here's the complete output. yarn run v1.22.19 $ webpack -w -c ./.config/webpack/webpack.config.ts --env…
gbs
  • 45
  • 1
  • 1
  • 7
1
vote
0 answers

Grafana dashboard panel with custom time range

I have a Grafana dashboard with a time range for "today so far" "time": { "from": "now/d", "to": "now" } But I have a service that runs only between 4am and 5am every day for which I would like to plot some metrics in a panel on this…
Dewald Swanepoel
  • 1,651
  • 4
  • 15
  • 38
1
vote
2 answers

How to tell if Grafana session cookie is valid?

I am trying to set up a code which given grafana_session cookie will tell me whether it is valid for my Grafana instance I tried using /api/auth/keys and passing grafana_session as a Bearer token but it doesn't work and I feel like it is intended to…
ablaszkiewicz1
  • 855
  • 1
  • 10
  • 26