1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-10 09:50:58 +02:00
opentelemetry-go/semconv/v1.6.1
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
..
doc.go Add semconv/v1.6.1 package (#2321) 2021-10-22 09:13:07 -07:00
exception.go Add semconv/v1.6.1 package (#2321) 2021-10-22 09:13:07 -07:00
http_test.go add new function to exclude span kind 4xx for status code (#2339) 2021-11-23 09:13:47 -08:00
http.go add new function to exclude span kind 4xx for status code (#2339) 2021-11-23 09:13:47 -08:00
resource.go Add semconv/v1.6.1 package (#2321) 2021-10-22 09:13:07 -07:00
schema.go Add semconv/v1.6.1 package (#2321) 2021-10-22 09:13:07 -07:00
trace.go Add semconv/v1.6.1 package (#2321) 2021-10-22 09:13:07 -07:00