简体   繁体   中英

GCP Stackdriver Logs-Based Metrics for custom payload value

Already created my filters with a specific value from the jsonPayload.

GCP 堆栈驱动程序

I want to create a metric which plots the values of 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

The other attributes are generally described in the instructions on https://cloud.google.com/logging/docs/logs-based-metrics/distribution-metrics

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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