Questions tagged [grafana-api]

Add this tag to questions regarding Grafana HTTP API. The Grafana backend exposes an HTTP API, the same API is used by the frontend to do everything from saving dashboards, creating users and updating data sources.

Grafana HTTP documentation

161 questions
0
votes
1 answer

Grafana: Change the role of existing api key

Can the role/permission of a particular api key in Grafana be changed? e.g. from admin to viewer.
0
votes
1 answer

How to use status panel in grafana? Or suggest the best visualization toll

I just wanna monitor whether an endpoint is up or not that's it. I can return a simple JSON as shown below localhost:8080/status { "status" : "UP/Down/Critical"} I want to show this simple information in Grafana real-time Currently I'm using…
Mosses John
  • 83
  • 1
  • 2
  • 5
0
votes
1 answer

Getting "General" folder ID for a newly-created organization in grafana

I create a grafana organization with m0nhawk's popular Grafana API library for Python with r = grafana_api.organization.create_organization({"name": organization}) then I switch into that organization and try to list all…
arturomp
  • 28,790
  • 10
  • 43
  • 72
0
votes
1 answer

Grafana Proxy New Domain to old DOmain

I am currently running a Grafana server with an NGINX server in front of it to server up from my grafana.olddomain.uk: location / { proxy_pass http://127.0.0.1:3000; } I would like to proxy from my new domain…
0
votes
1 answer

How to get number of rows in a table panel in Grafana through API?

As the question speaks for itself, I am aware that the latest Grafana has the option to Inspect Panels in the UI itself, but I wanted to expose the number of rows in the given table through an API. Wanted to write an automation code that deals with…
0
votes
1 answer

why grafana display the value at incorrect time slot?

I used grafana to display data from cloudwatch. I found grafana shows value incorrectly, for example, from this graph, the test_value is 1.000 at time 2021-02-28 07:29:00, however, from this graph, u can see the test_value is still 1.000 at time…
Lawrence Liu
  • 65
  • 1
  • 8
0
votes
1 answer

Grafana:change the role of an existing user

I have created few Grafana users using curl command. Here is the command i used. curl -XPOST -H "Content-Type: application/json" -d '{ "name":"user1@graf.com", "email":"user1@graf.com", "password":"userpassword", "role": "Admin" }'…
shiak
  • 1
  • 1
0
votes
1 answer

Unable to view the Query editor Grafana dashboard

I am trying to create a dashboard in Grafana. In the UI, when I tried to create a new dashboard and add a panel, the query editor in the panel is not getting displayed. It was initially working fine. Now facing this issue for newly created panels…
AkshayBadri
  • 504
  • 1
  • 10
  • 18
0
votes
2 answers

Grafana: Datasource (Prometheus ) query 403

When querying Datasource from grafana getting 403 for a few of the metrics. curl --location --request GET…
Saikat Chakrabortty
  • 2,520
  • 4
  • 22
  • 39
0
votes
1 answer

Star dashboard for Oauth users

I have asked this question on Grafana slack, community and on Reddit. Now time to try my luck here :) We have integrated Grafana access via OAuth sign in. Users would be authorized by an external OAuth entity. What I want to do is to have a custom…
Arunmu
  • 6,837
  • 1
  • 24
  • 46
0
votes
1 answer

Provisioning Grafana Datasource in Ansible using Lists

I'm having an issue provisioning Grafana datasources with host variables for api key and url. My intent is to implement a common list of datasources across multiple Grafana hosts (test/dev platforms.) Each of these hosts has their own Grafana URL…
derek
  • 103
  • 1
  • 4
0
votes
1 answer

Query for get Execution Time in Prometheus

I used Grafana ,Prometheus and Metrics I need to Prometheus Query for get Execution-Time(Latency) for each request process
0
votes
1 answer

Script for monitoring Cassandra Cluster

I need to report below metrics for a cassandra cluster at the end of the day Cluster Load (Avg.) No of read requests No. of write requests Read Latency Write Latency Long GC Pauses No. of Connections. These have to be cluster wise and not node…
0
votes
1 answer

Grafana - How to get the metrics that are used in dashboards?

Is there a way to get a list of all metrics that are being used in all of the active dashboards in my Grafana? My team is evaluating the Grafana Cloud product, and since its pricing is based on the amount of active-series/data-series that are being…
Meir Gabay
  • 2,870
  • 1
  • 24
  • 34
0
votes
1 answer

Need to show metrics in Grafana of Java application also for Spark configurations batch applications

I have one use case where I need to show the matrics of my java application into the Grafana but mine is a batch application not the time series, I have my data stored in relational DB. How it is possible to like do I need to push the data to some…