-
Notifications
You must be signed in to change notification settings - Fork 773
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
[HttpClient & Asp.Net Core] Update Readme.md #5168
[HttpClient & Asp.Net Core] Update Readme.md #5168
Conversation
[v1.23](https://github.com/open-telemetry/semantic-conventions/tree/v1.23.0/docs/http) | ||
of http semantic conventions. | ||
|
||
Following list of attributes are added by default on activity. See |
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.
split it under tracing, metrics heading separately to make it easy to follow.
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.
I moved it under traces and metrics below. Please check if that will be more clear.
|
||
gRPC instrumentation can be enabled by setting | ||
`OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_ENABLE_GRPC_INSTRUMENTATION` flag to | ||
`True`. The flag can be set as an environment variable or via IConfiguration as |
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.
nit: Use the same casing throughout the doc. The code snippet below uses true
.
@@ -66,6 +61,26 @@ public void ConfigureServices(IServiceCollection services) | |||
} | |||
``` | |||
|
|||
Following list of attributes are added by default on activity. See |
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.
A lot of these attributes are only added when they are available. For example, error.type
, user_agent.original
etc.
Following list of attributes are added by default on activity. See | |
When available, the following list of attributes are added by default on activity. See |
@@ -65,6 +57,22 @@ public class Program | |||
} | |||
``` | |||
|
|||
Following list of attributes are added by default on activity. See |
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.
@vishweshbankwar Left some suggestions that could be addressed in a follow-up PR. |
Fixes #
Design discussion issue #
Changes
Please provide a brief description of the changes here.
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial changes