dotnet / dotnet/extensions

Usability concerns regarding logging enrichment and tags collision

Open
#4,947 12 comments 0 reactions 0 assignees View on GitHub
area-telemetry
Dominant language
C#
Stars
3.2k
Forks
894
Avg merge
1d 12h
Merged PRs (30d)
23

Description

Hi!
I'm currently trying log enrichment on an app but I think there's a problem of usability.
In the simple case where I have an AspNet server endpoint which makes a HttpClient request however all the tags collide for example http.request.header, http.response.header. In my logs I don't know if the header comes from the incoming request or outgoing request.
I do understand that there are OTEL [conventions](https://opentelemetry.io/docs/specs/semconv/http/http-spans/) however they seem to apply only for tracing not logs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.