-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define the Cloud Monitoring category for custom metrics #296
Comments
Iirc, if the metric has the form |
So the name of the metric would include the That doesn't work, OpenTelemetry raises the following exception:
|
That was fixed in open-telemetry/opentelemetry-python#3442. Can you try a newer version of OpenTelemetry API/SDK? |
@aaaaahaaaaa is this still an issue for you? |
@aabmass Sorry for the late feedback, this one slipped through the cracks. It works, the prefix before the For the record, the name of metric in the UI still appears as the full string with the prefix. So |
Based on the example here, the name of the counter (
request_counter
) ends up being both used for the name of the metric (workload.googleapis.com/request_counter
) and the name of theActive metric category
under Cloud Monitoring. The result is:Is there a way a define the category in such a way that the results would:
And therefore group multiple custom metrics under the same category?
The text was updated successfully, but these errors were encountered: