1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/semconv
csuzhang 915244a661
add new function to exclude span kind 4xx for status code (#2339)
* add new function to exclude span kind 4xx for status code

* add changelog

* make precommit

* add unit test

* feat: redo by reusing validateHTTPStatusCode

* feat: make precommit

* feat: move the judgement to SpanStatusFromHTTPStatusCodeAndSpanKind

* feat: increase unittest coverage

* feat: fix logic

* feat: fix unittest

* fix code style

* Update CHANGELOG.md

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-11-23 09:13:47 -08:00
..
v1.4.0 add new function to exclude span kind 4xx for status code (#2339) 2021-11-23 09:13:47 -08:00
v1.5.0 add new function to exclude span kind 4xx for status code (#2339) 2021-11-23 09:13:47 -08:00
v1.6.1 add new function to exclude span kind 4xx for status code (#2339) 2021-11-23 09:13:47 -08:00
v1.7.0 add new function to exclude span kind 4xx for status code (#2339) 2021-11-23 09:13:47 -08:00
template.j2 Remove internal/semconv-gen (#2155) 2021-08-02 14:39:18 -04:00