Proper way of reporting a custom metric counter (such as a request counter) #11095
Labels
api: monitoring
Issues related to the Cloud Monitoring API.
type: question
Request for information or clarification. Not an issue.
I'm having a hard time wrapping my head on how to report a custom request counter (or any counter) using
monitoring_v3
.The examples show how I report a single gauge-like value; How am I supposed to report/increment a counter-like metric? Do I need to keep track of the counter across all threads myself?
This would be so much easier if OpenTelemetry's trace & metrics would work with GCP and not just either-or...
Helpful for any pointers
The text was updated successfully, but these errors were encountered: