任何人都可以帮助我将prometheus柱状图可视化为图表和apdex吗?
忽略任何二级标签(暂时)我只是想将它们可视化为Grafana上的直方图(堆积条形图很好),并且在grafana中显示apdex非常有用。
来自prometheus Web控制台的存储桶示例
someoperation_duration_seconds_bucket{
labelOne="some_consistent_label",
exported_instance="foo",
exported_job="my_job",
instance="10.0.0.0:9091",
job="kubernetes-service-endpoints",
kubernetes_name="prometheus-push-gateway",
kubernetes_namespace="monitoring",
le="+Inf",
labelTwo="some_label_that_changes1"
}
someoperation_duration_seconds_bucket{
labelOne="some_consistent_label",
exported_instance="foo",
exported_job="my_job",
instance="10.0.0.0:9091",
job="kubernetes-service-endpoints",
kubernetes_name="prometheus-push-gateway",
kubernetes_namespace="monitoring",
le="120",
labelTwo="some_label_that_changes1"
} etc etc
我查看了这篇文章how can I visualize a histogram with promdash or grafana,并将图表显示为堆叠条,系列为“le”(桶)值,但每个桶的Y轴值具有完全相同的值
由于操作的性质,通过PushGateway收集指标。不确定是否会产生影响。
非常感谢所有人