-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Add add_resource_attributes config option to restore resource attributes in generated metrics #43395
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
Conversation
Just checking understanding where we are and the path forward. The feature gate is created but in alpha so |
…tes in generated metrics Signed-off-by: Israel Blancas <[email protected]>
The feature gate was introduced because the default behavior will change soon. This is nice and it is a good feature, but we found that this can break many users in our side (and very likely to other vendors). I'm implementing here a way to preserve the old behavior (so the users will not be affected) while new users will benefit from the new feature.
If you check the 0.137.0 release notes, you will see there is an intention to make the feature gate stable very soon. |
|
@iblancasa, Why don't we just disable the feature-gate manually? |
My concern is that this will be moved from |
|
I think it's fine to move from |
I was thinking about this and think this option is still needed. There are many environments where you will not know which one are your resource attributes so, you cannot decided which ones add. The current behavior has worked well for us with those situations. It is not just a migration path. |
|
@iblancasa I can understand it |
|
@open-telemetry/collector-contrib-maintainers can we merge this? |
|
/easycla |
Description
Added a new configuration field to keep the resource attributes.
Link to tracking issue
Fixes #43394