Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Kubernetes 在Grafana中解析JSON响应_Kubernetes_Prometheus_Grafana_Grafana Templating - Fatal编程技术网

Kubernetes 在Grafana中解析JSON响应

Kubernetes 在Grafana中解析JSON响应,kubernetes,prometheus,grafana,grafana-templating,Kubernetes,Prometheus,Grafana,Grafana Templating,我有一个Kubernetes环境,使用Grafana来可视化普罗米修斯的数据流。 我有一些应用计数器,它们不是给普罗米修斯的。但是,我可以通过使用curl命令将它们视为JSON对象 答复的格式如下: { { "ID": "001", "source": "pageloads", "summary": "high failure counts", "severity": "major" }, { "ID": "003", "source": "profile_co

我有一个Kubernetes环境,使用Grafana来可视化普罗米修斯的数据流。 我有一些应用计数器,它们不是给普罗米修斯的。但是,我可以通过使用curl命令将它们视为JSON对象

答复的格式如下:

{
{
  "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中是否有查询此数据的插件


谢谢

您应该能够使用可视化工具来实现这一点