简体   繁体   English

用于自定义负载值的基于 GCP Stackdriver 日志的指标

[英]GCP Stackdriver Logs-Based Metrics for custom payload value

Already created my filters with a specific value from the jsonPayload.已经使用 jsonPayload 中的特定值创建了我的过滤器。

GCP 堆栈驱动程序

I want to create a metric which plots the values of Process_time.我想创建一个度量 Process_time 的值。

Can anyone please help, how to create such metrics?任何人都可以帮忙,如何创建这样的指标?

Click on the "CREATE METRIC" button above the filter box and use jsonPayload.process_time as the Field name单击过滤器框上方的“CREATE METRIC”按钮并使用jsonPayload.process_time作为字段名称

The other attributes are generally described in the instructions on https://cloud.google.com/logging/docs/logs-based-metrics/distribution-metrics其他属性通常在https://cloud.google.com/logging/docs/logs-based-metrics/distribution-metrics的说明中描述

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM