Questions tagged [grafana-datasource]

20 questions
1
vote
1 answer

Grafana variables - how to display selected value and label

I have a Grafana dashboard variable named items. The variable is filled with data coming from an API using JSON API data source. My API response is an array of objects containing two properties: id and name and I have set the name to be the label of…
1
vote
0 answers

Grafana - repeat query for each variable

I have a dashboard parameter named items. I have a datasource HTTP request (using Infinity and / or HTTP JSON API) that sends a request containing an itemId in the query parameter. Now, since I don't know the number of items in my Grafana dashboard…
1
vote
0 answers

Grafana /api/dashboards/uid/ result miss datasource id

When I use grafana /api/dashboards/uid/xyz123 API, I get all definitions of dashboard xyz123, except the datasources’ ids. It returns dashboard json with “datasource”: null, If I export it via GUI (share->export) it does have datasources’ ids. Pls…
1
vote
1 answer

Azure Monitor datasource isnt working error "Azure Log Analytics requires access to Azure Monitor but had the following error: InternalServerError"

We are using the Azure-Monitor Datasource with Managed Identity. We are monitoring the Kubernetes with log analytics. We have given "Log Analytics Reader Role and Monitoring reader(subscription Level)". Till last Thursday it was working fine when I…
1
vote
1 answer

Problems defining new elastic data source in grafana using dots in time field name

I'm trying to define a new data source in Grafana The data source is an Elastic index (which I'm not responsible of) When trying to Save & Test the new data source I get the following error: No date field named Date.Epoch found This field is the…
kaki gadol
  • 1,116
  • 1
  • 14
  • 34
1
vote
0 answers

Can we set output of one Datasource Query as input of other Datasource Query in Grafana Mixed Datasource (MS SQL Server)

I want to query data by joining two tables in two databases(different datasources in Grafana). I am trying to use Grafana Mixed Datasource for the same. Since I want to query into two different databases (datasources) is it possible to set output of…
curiousguy
  • 3,212
  • 8
  • 39
  • 71
1
vote
1 answer

Grafana custom datasource to use mssql

I want to create a Grafana plugin that uses MSSQL databases. I know there is a builtin MSSQL datasource plugin, but that requires the user to type entire SQL queries. I want to create a custom datasource that allows the user to select a name from a…
bart s
  • 5,068
  • 1
  • 34
  • 55
0
votes
0 answers

How to use k8s secrets for BasicAuth in OpenSearch Datascource in Grafana Helm chart Values file?

I’m trying to integrate AWS OpenSearch with self managed Grafana deployed via Helm charts for tracking application metrics. I created k8s generic secret and I want to use those secrets for openSearch datasource auth but I’m not sure how to use k8s…
0
votes
0 answers

Where can a Grafana datasource's query options be modified?

I want to add more text fields under the "Query Options" here for my datasource. But in the datasource code, I don’t see where this is specified. Searching for “Regex” in the datasource codebase doesn’t return anything. I generated the datasource…
covfefe
  • 2,485
  • 8
  • 47
  • 77
0
votes
0 answers

Grafana 9.5.1 SQL Server datasource showing plugin unavailable

When adding a SQL Server as a datasource, I click on Save and Test button, I get "Plugin Unavailable". I have attached the screenshot below. I only removed the server info from the screenshot but I’ve tested the connection in SQL Server Management…
War_Archer
  • 21
  • 6
0
votes
0 answers

Grafana : Data source not automatically refreshing the query

Problem: When generating dashboard panels using Python Requests, unless the panel query is manually clicked ‘Run’ on Grafana UI, there is no data displayed. Attached image shows how it does not display any panel data Steps To Reproduce: Once the…
0
votes
0 answers

Official Grafana MQTT integration

I have data source with MQTT endpoint. On Github exist repo: https://github.com/grafana/mqtt-datasource but this project is not visible on list: https://grafana.com/grafana/plugins/?utm_source=grafana_add_ds mqtt-datasource github project had major…
sosnus
  • 968
  • 10
  • 28
0
votes
1 answer

Datasources Provisioning In Grafana

How can we provision Microsoft SQL Server Datasource in Grafana. Any sample of the YML file ? My YML file looks like this: apiVersion: 1 datasources: - name: Microsoft SQL Server # datasource type. Required type: Microsoft…
0
votes
1 answer

How to import Datasources in grafana using from the export json file

1)I have exported a dashboard in a json file. 2)When I re-import the json file, grafana does not install the plugins that were used in the dashboard. Is there a way I can configure plugons to be insalled by default in my .ini file. or is there a…
0
votes
1 answer

how to get outside cluster Grafana authentication to get metrics from Prometheus/Thanos

I have a few openshift (4.8) clusters monitored centrally by Thanos. I'm trying to configure the Grafana (version install outside the clusters 8.3.1) Datasource with no success. When accessing the URL from my desktop works well. However, when…
1
2