-
Notifications
You must be signed in to change notification settings - Fork 446
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
Elasticsearch Log exporter "resources" are under "resources" key while it should be under the "root" #3119
Comments
@marcalff any thoughts on this ? Should I make a PR so we can discuss it ? |
under 'resources' Closes open-telemetry#3119
Sorry for the delay. Not familiar with the data format to use with the elastic search exporter, so hard to tell what exact format the exporter should produce. Looking at the ECS doc https://www.elastic.co/guide/en/ecs/8.11/ecs-user.html
So, this is the issue reported here (don't put fields under root/resources) if I understand correctly. Makes sense to me. |
Yes this is exactly it. If there are resources (common to all logs) we have to let the user put them at the root. Since The only thing is that if anyone was using the exporter it will break how they were receiving logs. |
under 'resources' Closes open-telemetry#3119
under 'resources' Closes open-telemetry#3119
under 'resources' Closes open-telemetry#3119
Not exactly a bug but this is to continue the work I have done here #3091
It is open to discussion but I think, like for
attributes
thatresources
should also be by default in the root object and that it would be up to the user to add different levels if necessary.This would make sense as for instance in the resources we would put
user.id
which is common to all logs and that would not make sense to "manually" add it through the logattributes
every time we callEmitLogRecord
The text was updated successfully, but these errors were encountered: