简体   繁体   English

最适合 grafana sysdig 的 prometheus 指标数据 model

[英]Best fit prometheus metric data model for grafana sysdig

I am using prometheues metric in grafana UI emitted from sysdig dashboard.我在 sysdig 仪表板发出的 grafana UI 中使用 prometheues 指标。

I am implementing a state change metric ie pod states and my data mode is below:我正在实施 state 更改指标,即 pod 状态,我的数据模式如下:

pod_request_state_duration(id,method="create",demoapi,state=creating-running) pod_request_state_duration(id,method="create",demoapi,state=creating-running)

I want to use promQL to find the changing state and display in grafana UI.我想使用 promQL 找到变化的 state 并在 grafana UI 中显示。 Please help.请帮忙。

As the query is not exact, i will try to give a best possible solution.由于查询不准确,我将尝试提供最佳解决方案。

Try using delta .尝试使用delta

delta(pod_request_state_duration{id,method="create",demoapi,state=creating-running}[time_duration])

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Prometheus/Grafana 中配置 Rabbitmq Metric Kubernetes - How to configure Rabbitmq Metric in Prometheus/Grafana Kubernetes 无法在 grafana 仪表板中添加 sysdig 插件 - Unable to add sysdig plugin in grafana dashboard 在Kubernetes的Grafana仪表板中无法获取Prometheus数据 - Can not get Prometheus data in Grafana dashboard in Kubernetes 使用来自 Kubernetes 度量服务器的 PromQL (prometheus) 列出 Grafana 上的命名空间名称、命名空间年龄和状态 - List Namespace name, Namespace Age, and Status on Grafana using PromQL (prometheus) from Kubernetes Metric server Grafana 抛出 HTTP Error Bad Gateway for Prometheus 数据源 - Grafana throws HTTP Error Bad Gateway for Prometheus data source Grafana 数据源普罗米修斯 404 - Grafana Datasource Prometheus 404 Kubernetes ingress nginx grafana 仪表板 prometheus 数据为空 - Kubernetes ingress nginx grafana dashboard prometheus data was empty 有没有办法使用普罗米修斯数据源在 Grafana 变量中获取 Kubernetes 的集群名称? - Is there a way to get the cluster name of Kubernetes in Grafana variables with prometheus data source? 使用Grafana监控Kubernetes:使用最新的Prometheus版本丢失大量数据 - Monitoring Kubernetes with Grafana: lots of missing data with latest Prometheus version Grafana 中没有 Kubernetes Pod 和节点的数据点 - Prometheus Dashboard - No data points for Kubernetes Pods and nodes in Grafana - Prometheus Dashboard
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM