-
Notifications
You must be signed in to change notification settings - Fork 741
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
Ensure that the logged dimensions in HTTP logging follow the same naming conventions as defined for spans/metrics #4451
Comments
Todo: stick with the .NET dimension names in: |
Decide what to do with complex object logging in SG (separator is |
we should check and update remaining enrichers as well (remove env__ and use pascalCase) |
@noahfalk what would you recommend as a delimiter for nested objects when doing complex object logging? "_" (right now) or "." or sth else? |
IMO dots seem marginally more aligned with the conventions. It also aligns better with typical syntax used in many programing languages when doing field access. So barring some particular technical problem I'm unaware of, I'd pick dot. |
@iliar-turdushev are you also planning on looking at logging categories for this and making sure they match the rest of dotnet? |
@joperezr Could you, please, elaborate? I don't fully understand. |
@Tratcher FYI |
Reopened the issue, because here we'll address naming of dimension not only in HTTP Logging, but also in HTTP Client logging, |
Update:
|
Update:
|
Currently, OTel defines semantic conventions for HTTP for spans and metrics and there are none for logs. However, it makes sense to not reinvent the wheel and stick to the naming which is already available even though it's meant for a different pillar.
What needs to be done:
cc @noahfalk @xakep139 @geeknoid
The text was updated successfully, but these errors were encountered: