-
Notifications
You must be signed in to change notification settings - Fork 858
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
Implement error.type attribute in HTTP semconv #9466
Conversation
87520b2
to
b5baecf
Compare
* cancelled}, {@code _OTHER}. | ||
*/ | ||
@Nullable | ||
default String getErrorType( |
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 thought about creating a separate extractor just for that, but decided against it -- let's first see if there are any other use cases for this attribute, and we can retroactively implement a new getter interface if there's a need to do so.
...ain/java/io/opentelemetry/instrumentation/api/instrumenter/http/HttpStatusCodeConverter.java
Outdated
Show resolved
Hide resolved
ab34cfa
to
86ae291
Compare
86ae291
to
0b8bf3b
Compare
@trask is there anything else blocking this PR? |
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.
thx!
Resolves #9438
Part of #9090