-
Traces and Logs have the ability to pass in a resource (where you can supply a |
Beta Was this translation helpful? Give feedback.
Answered by
lalitb
Mar 5, 2024
Replies: 1 comment 7 replies
-
As of now, you need to use: and perhaps pass an empty ps. You can also set it using env-variable |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
willie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As of now, you need to use:
opentelemetry-cpp/sdk/include/opentelemetry/sdk/metrics/meter_provider_factory.h
Lines 67 to 69 in c82306f
and perhaps pass an empty
ViewRegistry
. I believe there should be a much simpler approach to be supported.ps. You can also set it using env-variable
OTEL_RESOURCE_ATTRIBUTES
.