1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/semconv/v1.4.0
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 Prerelease v1.0.0 (#2250) 2021-09-20 13:02:46 -07:00
exception.go chore: adds vanity import check. (#2255) 2021-09-27 22:37:26 -04: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 semconv-gen: fix capitalization at word boundaries, add stability/deprecation indicators (#2033) 2021-06-28 09:11:49 -07:00
schema.go chore: adds vanity import check. (#2255) 2021-09-27 22:37:26 -04:00
trace.go semconv-gen: fix capitalization at word boundaries, add stability/deprecation indicators (#2033) 2021-06-28 09:11:49 -07:00