We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What are you trying to achieve?
I just got an interesting request from a user. They are using some .NET resource detectors like this:
otelOptions.SetResourceBuilder( ResourceBuilder.CreateDefault() .AddService(serviceName: "VoiceCompanionApp", serviceVersion: "1.0.0") .AddHostDetector() .AddProcessDetector() .AddProcessRuntimeDetector() .AddOperatingSystemDetector());
User wants to remove "hostname" & "username" attributes from the final resource.
There is a Merge operation defined in the spec but I don't see a way to remove specific keys via that mechanism.
Merge
Q: Should we extend Merge to support removal or add something dedicated?
/cc @flaviocdc
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
I believe this is going to be supported in declarative configuration in case that helps: https://github.com/open-telemetry/opentelemetry-configuration/blob/f27d8d9514c4e3bf661026567bfb5c2c61e553ce/examples/kitchen-sink.yaml#L364-L369
I think it still needs programmatic support.
No branches or pull requests
What are you trying to achieve?
I just got an interesting request from a user. They are using some .NET resource detectors like this:
User wants to remove "hostname" & "username" attributes from the final resource.
There is a
Merge
operation defined in the spec but I don't see a way to remove specific keys via that mechanism.Q: Should we extend
Merge
to support removal or add something dedicated?/cc @flaviocdc
The text was updated successfully, but these errors were encountered: