我有一个 Kubernetes 环境并使用 Grafana 可视化从 Prometheus 流式传输的指标。我有未提供给 Prometheus 的应用程序计数器。但是,我可以使用 curl 命令将它们视为 JSON 对象。
http://10.0.0.1:8081/api/events/
响应具有以下格式:
{
{
"ID": "001",
"source": "pageloads",
"summary": "high failure counts",
"severity": "major"
},
{
"ID": "003",
"source": "profile_counts",
"summary": "profile count doesn't match number of groups",
"severity": "minor"
},
{
"ID": "002",
"source": "number of subscribers",
"summary": "profiles higher than subscribers",
"severity": "critical"
}
}
Grafana 中是否有插件可以查询这些数据(http://10.0.0.1:8081/api/events/ )?
谢谢