GCP Stackdriver Logs-Based Metrics for custom payload value
Asked Answered
B

1

1

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

GCP StackDriver

I want to create a metric which plots the values of Process_time.

Can anyone please help, how to create such metrics?

Borrow answered 29/6, 2019 at 22:15 Comment(0)
B
1

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

Belgrade answered 8/7, 2019 at 19:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.