Commit Graph

8 Commits

Author SHA1 Message Date
Alex Boten 6b705f995e
[semconv] remove deprecated package (#13071)
This removes the deprecated semconv package along with the tooling used
to regenerate the code

Leaving this in draft for a few releases.

Closes
https://github.com/open-telemetry/opentelemetry-collector/issues/10346,
closes
https://github.com/open-telemetry/opentelemetry-collector/issues/11828,
closes
https://github.com/open-telemetry/opentelemetry-collector/issues/11807

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
2025-06-10 16:16:21 +00:00
Matthieu MOREL 96e860b9cb
[chore]: enable gofumpt linter in receiver, scraper, semconv and service (#11856)
#### Description

[gofumpt](https://golangci-lint.run/usage/linters/#gofumpt) is a
stricter format than gofmt, while being backwards compatible.

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-12-12 17:59:26 +00:00
Matthieu MOREL 37f783308e
[chore]: enable require-error rule from testifylint (#11199)
#### Description

Testifylint is a linter that provides best practices with the use of
testify.

This PR enables
[require-error](https://github.com/Antonboom/testifylint?tab=readme-ov-file#require-error)
rule from [testifylint](https://github.com/Antonboom/testifylint)

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-18 15:02:22 -07:00
Alex Boten b688e7a6fc
[semconv] update template to remove deprecated semconv attributes (#10829)
This PR is updating the jinja template to ignore deprecated attributes
as was done in
https://github.com/open-telemetry/opentelemetry-go/pull/5476.
Additonally, generate v1.26.0 semconv package

This replaces
https://github.com/open-telemetry/opentelemetry-collector/pull/10249

Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/10813

NOTE: This leaves empty resource/trace/event files, but I'd rather not
remove the methods they expose in this change

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-08-07 13:35:19 -07:00
Alex Boten 80d704deb4
[chore] use license shortform (#7694)
* [chore] use license shortform

To remain consistent w/ contrib repo, see https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/22052

Signed-off-by: Alex Boten <aboten@lightstep.com>

* make goporto

Signed-off-by: Alex Boten <aboten@lightstep.com>

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-05-18 13:11:17 -07:00
Ben B 69dd391ff9
add semantic conventions for specification v1.18.0 (#7169)
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
2023-02-15 06:52:23 -08:00
Ben B b04c8d9f37
add semantic conventions for specification v1.17.0 (#7171)
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
2023-02-14 16:56:51 -08:00
Dmitrii Anoshin b2870634ff
Move semconv package from pdata to its own module (#5196)
- Move `model/semconv` package to a new `semconv` module
- Add deprecation notices to API from `model/semconv`
2022-04-14 11:49:20 -07:00