Commit Graph

6 Commits

Author SHA1 Message Date
Pablo Baeyens 97cae29d23
[component] Remove TelemetrySettings.MetricsLevel (#12189)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Fixes #11061.

Depends on releasing the deprecation.
2025-02-04 18:12:02 +00:00
Pablo Baeyens 2447a81885
[component] Deprecate TelemetrySettings.MetricsLevel (#12159)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number if applicable -->

- Deprecates `component.TelemetrySettings.MetricsLevel`
- Sets the value passed to components to always be
`configtelemetry.LevelDetailed`

#### Link to tracking issue

Updates #11061
2025-01-24 12:05:26 +00: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
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
Jacob Aronoff 833cbdaf75
Enable create settings to access resource attributes (#7531)
Adds the ability for create settings to access instantiated resource attributes

Link to tracking Issue: #6599
2023-05-08 09:06:06 -07:00
Bogdan Drutu bc870f854e
Remove deprecated funcs from componenttest (#6836)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-12-19 21:42:31 -08:00