-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[processor/resourcedetection] New dimension host.id was added enabled by default #21233
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I would argue that adding things enabled by default has been the usual practice for the resource detection processor. Other examples can be seen in #12914 and #12355. I think we should not freeze the set of attributes added by a given detector by default until we deem the detector stable, and we have not done (to my knowledge) any analysis of whether the system detector or any others are stable enough. I think a better option until such stability is reached is to use the functionality added in #8547 if you want to freeze the set of attributes added by the processor. |
@mx-psi this change caused inadvertent change and I think we ought to have some functional test coverage to make sure we understand how cascading detectors may inadvertently impact each other. We can cover that with a test and just make sure we report if the behavior has changed as a breaking change so folks downstream (👋 ) can do the right thing and not run into surprises. |
I submitted #21482 which should help us to avoid issues like this going forward |
That makes sense to me :) |
Now that #23253 has landed, should we mark |
Filed #24010 for this |
What does mean |
I am not sure what @atoulme meant, but I think an example where things could break for users is the following: processors:
resourcedetection:
detectors: [system, ec2] If we are on EC2, then:
Ultimately the issue here is that |
Shouldn't the solution be to disable |
@sumo-drosiek My main point in having |
Thanks for clarification 🙏 |
Component(s)
processor/resourcedetection
What happened?
Description
With #18618, we added a new dimension
host.id
and it was marked enabled by default. Unfortunately, this conflicts with our own detectors and is causing issues.We would like to make sure this dimension is not enabled by default and going forward that we make sure any data change is considered as not default to avoid surprises.
Collector version
0.75.0
Environment information
No response
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: