-
Notifications
You must be signed in to change notification settings - Fork 17
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
add resource + attributes #6
add resource + attributes #6
Conversation
Currently the only attribute that's required is `service.name`.
I don't think |
Fair, i figured since SDKs override it anyways, it would be handy to have it required, but i can remove it as well |
Is there a way of setting it as recommended? Also: would the file-based config always be the "lowest" priority and overwritten when the value is set somewhere else? |
SDK's override it? My initial thought when seeing this was an issue with Erlang because it is able to automatically set it for the user, but if the user sets it in the config this would be taken over the detected service name. |
I don't think they should do that. I am trying to understand what the priority is. My understanding is:
Am I missing something? Is the order okay? |
@pirgeo in the OTEP we discussed whether file configuration should include layering with other sources of config like environment variables, and decided no. See this comment. Working on codifying this in the specification with this line:
|
@tsloughter I mispoke, I meant that the SDKs will default to |
Co-authored-by: jack-berg <[email protected]>
@jack-berg Thanks for the clarification. It seems I need to read the OTEP / discussion around it a bit more carefully! 😄 |
Signed-off-by: Alex Boten <[email protected]>
Moved the discussion around requiring service.name into its own issue, PTAL |
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.
Pending further discussion of service.name in #11 - this looks good to me.
Currently the only attribute that's required is
service.name
.