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
5,944
questions
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 ...
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
...
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 ...
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-...
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)
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 ...
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 != "-&...
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 ...
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 ...
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....
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 ...
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 ...
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",...
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 ...
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 ...