Alex Boten
4ca0f1829e
update semconv dependency to otelgo's semconv package ( #12991 )
...
This updates the calls to the collector's internal semconv package with
otelgo's instead. The main difference is how the keys can be used, they
will need to be cast as strings where they key name is needed, otherwise
it's not a huge change. This would allow us to stop producing our own
semconv package once contrib is moved as well.
Related to
https://github.com/open-telemetry/opentelemetry-collector/issues/10346 ,
https://github.com/open-telemetry/opentelemetry-collector/issues/11828 ,
https://github.com/open-telemetry/opentelemetry-collector/issues/11807
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-05-09 19:04:08 +00:00
Matthieu MOREL
564818fd7f
[chore]: fix testifylint rules ( #12791 )
...
#### Description
Fixes testifylint rules which where disabled with golangci-lint v2
upgrade
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-04-02 23:10:07 +00:00
Matthieu MOREL
0204d957e5
[chore]: enable whitespace linter ( #11579 )
...
#### Description
[whitespace](https://golangci-lint.run/usage/linters/#whitespace ) is a
linter that checks for unnecessary newlines at the start and end of
functions.
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-31 12:15:54 -07: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
Matthieu MOREL
eb0a4b6388
[chore]: enable expected-actual rule from testifylint ( #11135 )
...
#### Description
Testifylint is a linter that provides best practices with the use of
testify.
This PR enables
[expected-actual](https://github.com/Antonboom/testifylint?tab=readme-ov-file#expected-actual )
rule from [testifylint](https://github.com/Antonboom/testifylint )
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-11 11:28:31 -07:00
Pablo Baeyens
ef9caab844
[chore] Move resource test to service/internal/resource ( #9730 )
...
**Description:** This test was out of place!
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-03-12 14:12:45 -07:00
Pablo Baeyens
4d73b4f1bf
[service] Refactor telemetry initialization ( #9320 )
...
A part of #9319 that can be done without waiting for #9131
2024-01-22 12:00:22 -08:00