open-telemetry / opentelemetry-go-contrib

Collection of extensions for OpenTelemetry-Go.
https://opentelemetry.io/
Apache License 2.0
1.15k stars 544 forks source link

Add unconvert linter #5802

Closed dmathieu closed 3 months ago

dmathieu commented 3 months ago

This is the contrib counterpart of https://github.com/open-telemetry/opentelemetry-go/pull/5529.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 64.5%. Comparing base (ff65757) to head (bc693c6).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/5802/graphs/tree.svg?width=650&height=150&src=pr&token=P6F3W9WA7Q&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry)](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/5802?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) ```diff @@ Coverage Diff @@ ## main #5802 +/- ## ===================================== Coverage 64.5% 64.5% ===================================== Files 200 200 Lines 12558 12558 ===================================== Hits 8101 8101 Misses 4220 4220 Partials 237 237 ``` | [Files](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/5802?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) | Coverage Δ | | |---|---|---| | [bridges/otelzap/encoder.go](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/5802?src=pr&el=tree&filepath=bridges%2Fotelzap%2Fencoder.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-YnJpZGdlcy9vdGVsemFwL2VuY29kZXIuZ28=) | `85.8% <100.0%> (ø)` | | | [...estful/otelrestful/internal/semconvutil/netconv.go](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/5802?src=pr&el=tree&filepath=instrumentation%2Fgithub.com%2Femicklei%2Fgo-restful%2Fotelrestful%2Finternal%2Fsemconvutil%2Fnetconv.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-aW5zdHJ1bWVudGF0aW9uL2dpdGh1Yi5jb20vZW1pY2tsZWkvZ28tcmVzdGZ1bC9vdGVscmVzdGZ1bC9pbnRlcm5hbC9zZW1jb252dXRpbC9uZXRjb252Lmdv) | `100.0% <100.0%> (ø)` | | | [...-gonic/gin/otelgin/internal/semconvutil/netconv.go](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/5802?src=pr&el=tree&filepath=instrumentation%2Fgithub.com%2Fgin-gonic%2Fgin%2Fotelgin%2Finternal%2Fsemconvutil%2Fnetconv.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-aW5zdHJ1bWVudGF0aW9uL2dpdGh1Yi5jb20vZ2luLWdvbmljL2dpbi9vdGVsZ2luL2ludGVybmFsL3NlbWNvbnZ1dGlsL25ldGNvbnYuZ28=) | `100.0% <100.0%> (ø)` | | | [...orilla/mux/otelmux/internal/semconvutil/netconv.go](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/5802?src=pr&el=tree&filepath=instrumentation%2Fgithub.com%2Fgorilla%2Fmux%2Fotelmux%2Finternal%2Fsemconvutil%2Fnetconv.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-aW5zdHJ1bWVudGF0aW9uL2dpdGh1Yi5jb20vZ29yaWxsYS9tdXgvb3RlbG11eC9pbnRlcm5hbC9zZW1jb252dXRpbC9uZXRjb252Lmdv) | `100.0% <100.0%> (ø)` | | | [...tack/echo/otelecho/internal/semconvutil/netconv.go](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/5802?src=pr&el=tree&filepath=instrumentation%2Fgithub.com%2Flabstack%2Fecho%2Fotelecho%2Finternal%2Fsemconvutil%2Fnetconv.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-aW5zdHJ1bWVudGF0aW9uL2dpdGh1Yi5jb20vbGFic3RhY2svZWNoby9vdGVsZWNoby9pbnRlcm5hbC9zZW1jb252dXRpbC9uZXRjb252Lmdv) | `100.0% <100.0%> (ø)` | | | [...ron.v1/otelmacaron/internal/semconvutil/netconv.go](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/5802?src=pr&el=tree&filepath=instrumentation%2Fgopkg.in%2Fmacaron.v1%2Fotelmacaron%2Finternal%2Fsemconvutil%2Fnetconv.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-aW5zdHJ1bWVudGF0aW9uL2dvcGtnLmluL21hY2Fyb24udjEvb3RlbG1hY2Fyb24vaW50ZXJuYWwvc2VtY29udnV0aWwvbmV0Y29udi5nbw==) | `100.0% <100.0%> (ø)` | | | [...race/otelhttptrace/internal/semconvutil/netconv.go](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/5802?src=pr&el=tree&filepath=instrumentation%2Fnet%2Fhttp%2Fhttptrace%2Fotelhttptrace%2Finternal%2Fsemconvutil%2Fnetconv.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-aW5zdHJ1bWVudGF0aW9uL25ldC9odHRwL2h0dHB0cmFjZS9vdGVsaHR0cHRyYWNlL2ludGVybmFsL3NlbWNvbnZ1dGlsL25ldGNvbnYuZ28=) | `100.0% <100.0%> (ø)` | | | [.../net/http/otelhttp/internal/semconvutil/netconv.go](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/5802?src=pr&el=tree&filepath=instrumentation%2Fnet%2Fhttp%2Fotelhttp%2Finternal%2Fsemconvutil%2Fnetconv.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-aW5zdHJ1bWVudGF0aW9uL25ldC9odHRwL290ZWxodHRwL2ludGVybmFsL3NlbWNvbnZ1dGlsL25ldGNvbnYuZ28=) | `100.0% <100.0%> (ø)` | | | [propagators/b3/b3\_propagator.go](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/5802?src=pr&el=tree&filepath=propagators%2Fb3%2Fb3_propagator.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-cHJvcGFnYXRvcnMvYjMvYjNfcHJvcGFnYXRvci5nbw==) | `98.7% <100.0%> (ø)` | |