Skip to main content
The 2024 Developer Survey results are live! See the results

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.

0 votes
0 answers
9 views

Grafana: number of errors in given interval

When my query looks something like this: sum(request_total{status!="2xx"}) Grafana gives me a table like this: So, there were five errors within this time range. But how do I make it ...
Dima's user avatar
  • 40.3k
0 votes
0 answers
6 views

Unable to create Zipkin data source for Grafana

I'd need to set up a demo which shows in a Grafana Dashboard the traces collected in a Zipkin Server. I've setup the following docker-compose.yml file: services: grafana: image: grafana/grafana ...
Francesco Marchioni's user avatar
0 votes
0 answers
5 views

Calculating Availability % in prometheus, ignoring downtime of X mins

We are polling our services to check if they are available or not using an exporter. The output of those probes are 1/0. Now, I've a requirement to calculate the Availability % which ignores any ...
Prajul Nambiar's user avatar
0 votes
1 answer
18 views

Why is it not all azure app-insights metric appear in Grafana

I am setting up some Grafana dashboards which retrieve data from Azure. I have managed to setup most of the required panels but one that is eluding me is Authenticated Users. So in azure we have app-...
Kev's user avatar
  • 300
0 votes
1 answer
10 views

Promql query to to get all the metrics available on a node in a particular cluster

I am new to grafana, I wanted to check all the available metrics for a node in a cluster. can any one please help me with this. count($metric{cluster="your_cluster_name"}) by (node)
user13134966's user avatar
0 votes
1 answer
17 views

Docker Grafana - VPN to MSSQL not connecting [closed]

I have a grafana container running on my linux server. I am trying to get a connection from Grafana to my MSSQL server which is on another network but VPN connected. From the linux server running ...
Chappy's user avatar
  • 47
0 votes
1 answer
13 views

Grafana Grouped transformation on Loki query: Not able to display data if only a single value is returned by query

I have the following query (some checks included to filter only real users): sum by(remote_addr) (count_over_time({app="ingress-nginx"} | logfmt | host_name != `` | remote_user != "-&...
sh_cy's user avatar
  • 28
0 votes
1 answer
9 views

Top 20 paths sorted by latency in Grafana

I am using Grafana v10.4.1 (d94d597d84) set up on k8s. I am trying to see the top 20 paths sorted by latency. I am having troubles using sort_desc and topk. It’s not working, the results it shows are ...
Scrap's user avatar
  • 123
0 votes
0 answers
9 views

Grafana Loki QL how to get multiple occurance of a string from the logs & put them as a fields to display in Grafana Dashboard

I have a scenario where I have a need to extract ID's which follow a pattern "PAXXXXXX".Please note the number of these ID's in a log isnt fixed. I can certainly write regex (regexp) to ...
Arjit Goswami's user avatar
0 votes
0 answers
20 views

OpenTelemetry Collector remove the outer body element of the journald fields

The OpenTelemetry Collector configuration: receivers: journald: processors: resource: attributes: - key: loki.format value: json action: insert - key: deployment....
Arno's user avatar
  • 329
0 votes
1 answer
12 views

Merging two time series into single in Grafana Dashboard

I want to plot a Timeseries of TPS of few APIs in Grafana Dashboard. But the challenge is I want to extract the URIs based on Joining 2 Queries as below. Example : Following query returns the ...
Suhas's user avatar
  • 75
0 votes
0 answers
75 views

Error: Unable to connect with Loki. Please check the server logs for more details on Grafana

I have installed Loki on my Ubuntu server and configured Promtail on another server to scrape logs. Grafana is also on the server where Loki is set up. The problem arises when I try to choose Loki as ...
Saksham Paliwal's user avatar
0 votes
0 answers
8 views

Grafana alert when dynamic label does not change any more

I have a a prometheus metric with dynamic labels indicating the revision of some data source. The records of the versions_info data source look like this: {instance="loogle.lean-lang.org:80",...
Joachim Breitner's user avatar
0 votes
1 answer
17 views

How to query RedisTimeSeries data on Grafana

I'm sure due to inexperience with Grafana I'm not typing the query correctly. I have a RedisTimeSeries installed on my vm with data for a test key. I am trying to create a chart/panel printing this ...
Classified's user avatar
  • 5,950
0 votes
0 answers
16 views

Go template is not working in grafana alert's annotations

I have configured a Grafana (v11.1.0) alert where alert should fire if the max value of any of the three parameters, say A, B and C is greater than 0. I have defined the custom message in the alert ...
Rob Wilkinson's user avatar

15 30 50 per page
1
2 3 4 5
397