-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[translator/azurelogs] Azure logs fix resource attributes #39571
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
[translator/azurelogs] Azure logs fix resource attributes #39571
Conversation
…; remove redundant casting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like the right choice but does have user facing changes that we should highlight (eg some log record attributes are moved to resource attributes). Also, I don't think we should remove event.name
attribute yet.
Consumers of these attributes may depend on their names and locations. Maybe we dual write them for a short time, or add a feature flag to control behaviour?
Thanks @MikeGoldsmith @cparkins @atoulme . I am not totally convinced on this @MikeGoldsmith Can you tell me more about the semantic conventions you linked for azure? Is this something that is in use in general, or just part of this translator? Reason I ask is that some of these attributes should not be there (for example |
Description
The issue for this PR was first reported here: #39186.
Currently, the resource logs have no attributes. This means that all records are supposedly the same, which is not true.
This PR adds attributes to the resources.
Link to tracking issue
Relates #39186.
Testing
Unit tests fixed.