使用 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 复制后, 就可以知道查询语句了
相关推荐
川石课堂软件测试13 小时前
技术分享|JMeter接口与性能测试实战
数据库·功能测试·测试工具·jmeter·单元测试·postman·prometheus
是店小二呀15 小时前
Prometheus监控盲区:Pushgateway如何收拢离线任务指标
prometheus
xmlhcxr1 天前
基于 HAProxy+Keepalived 构建高可用 ZrLog 博客系统及监控平台实现(Prometheus + Grafana)
架构·grafana·prometheus
川石课堂软件测试2 天前
软件测试:典型面试题库
数据库·python·功能测试·mysql·单元测试·grafana·prometheus
杜子不疼.3 天前
无需公网 IP!Grafana+内网穿透轻松实现数据看板远程访问
网络协议·tcp/ip·grafana
何中应3 天前
Promehteus如何指定数据路径
运维·prometheus·监控
Elastic 中国社区官方博客3 天前
使用 Remote Write 将 Prometheus 指标发送到 Elasticsearch
大数据·运维·elasticsearch·搜索引擎·全文检索·prometheus
要做一个小太阳3 天前
blockbox配置文件详解与优化
运维·网络·prometheus
Elastic 中国社区官方博客4 天前
Prometheus Remote Write 在 Elasticsearch 中的摄取原理
大数据·数据库·elasticsearch·搜索引擎·信息可视化·全文检索·prometheus