使用 Grafana api 查询 Datasource 数据

一、使用grafana 的api 接口 官方API

二、生成Api key

  1. 点击 Administration -》Users and accss -》Service accounts 进入页面
  2. 点击Add service account
  3. 创建 service account
  4. 点击Add service account token
  5. 点击 Generate token , 就可以生成 api key 了

    三、进入grafana 查询面板,F12打开控制台,查看 query 接口的请求body

    右键copy 复制后, 就可以知道查询语句了
相关推荐
梁正雄3 小时前
6、prometheus资源规划
运维·服务器·服务发现·prometheus·监控
梁正雄9 小时前
4、prometheus-服务发现k8s api-2
kubernetes·服务发现·prometheus
路由侠内网穿透.4 天前
外网访问可视化工具 Grafana (Linux版本)
linux·运维·服务器·grafana·远程工作
麦兜*4 天前
Spring Boot 应用 Docker 监控:Prometheus + Grafana 全方位监控
spring boot·后端·spring cloud·docker·prometheus
罗不俷5 天前
Prometheus 详解:从原理到实战,打造企业级云原生监控体系
云原生·prometheus
Deamon Tree7 天前
Prometheus和Grafana简介
grafana·prometheus
码界奇点8 天前
Apache IoTDB 架构特性与 PrometheusGrafana 监控体系部署实践
架构·apache·grafana·prometheus·iotdb
Linux-palpitate8 天前
基于Prometheus和Grafana的MySQL监控,服务器监控
服务器·grafana·prometheus
hello_2508 天前
golang程序对接prometheus
开发语言·golang·prometheus
yiqian198910 天前
grafana做状态变化的监控图表
grafana