-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[receiver/cloudfoundry] Some metric attributes need to be moved to be resource attributes #34824
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Yes, according with OTEL guidelines, those attributes belong to resource level. The reason why they are at But (just to take into consideration), one could argue that because the component is targeting CF as a system, only attributes like Anyway, I would prefer having them as resource level. And, yes it will be a breaking change. |
Hi, I would like to look into this issue if possible Some thoughts about the breaking change: would it be a solution to temporary (let's say for 5 releases) keep the attributes duplicated on metric level and as well on resource level? Therefore there can be a slow phasing out time for users to adapt. WDYT? |
Drafted a first possible (incomplete) draft solution, would like to hear your opinion on if duplicating the attributes is a good way in this. Thanks! |
I think a feature gate would probably be better for this scenario. Have the feature gate disabled by default, but if someone enables it, all of the relevant attributes will be resource attributes instead of (not duplicated) attributes of a datapoint. I like the idea of documenting this though, and giving it a number of releases before upgrading the feature gate's stability. |
Thanks for the response, adapted the implementation and should be ready for review now! |
I still need to review the code, but I agree with the feature gate. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
…level (#34905) **Description:** <Describe what has changed.> Introduce a feature gate enable copying envelope tags to the metrics as resource attributes instead of datapoint attributes. **Link to tracking Issue:** #34824 --------- Signed-off-by: odubajDT <[email protected]>
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Resolved by #34905 |
Component(s)
receiver/cloudfoundry
Describe the issue you're reporting
An example metric from the Cloud Foundry receiver:
Each of these attributes are really describing the resource from where the metric and its data points are coming from, not the data point itself. These should all be moved to be resource attributes.
This would be a breaking change, and its changing the format of metrics considerably.
The text was updated successfully, but these errors were encountered: