Replies: 1 comment 2 replies
-
You can setup a view in your code to change the attributes/names of auto-generated metrics. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use OTLP to export metrics to Grafana.
I uas a "host" attribute to distinguish metrics with the same name on different hosts.
However, I noticed there are a couple of metrics get auto created by the sdk: https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/instrumentation/runtime/runtime.go#L111-L131
Is it possible to distinguish these metrics from different hosts by adding additional attributes to them?
Beta Was this translation helpful? Give feedback.
All reactions