opentelemetry-collector/config/configtelemetry
Jade Guiton 1bb0469b16
[service] Move batchprocessor metrics to normal level and update level guidelines (#12525)
#### Description

This PR:
- requires "level: normal" before outputting batch processor metrics (in
addition to one specific metric which was already restricted to "level:
detailed")
- clarifies wording in the telemetry level guidelines and documentation,
and adds said guidelines to the requirements for stable components.

Some rationale for these changes can be found in the tracking issue and
[this
comment](https://github.com/open-telemetry/opentelemetry-collector/issues/7890#issuecomment-2684652956).

#### Link to tracking issue
Resolves #7890

#### To be discussed

Should we add a feature gate for this, in case a user relies on "level:
basic" outputting batch processor metrics? This feels like a niche use
case, so considering the "alpha" stability level of these metrics, I
don't think it's really necessary.

Considering batch processor metrics had already been switched to
"normal" once (#9767), but were turned back to basic at some later point
(not sure when), we might also want to add tests to avoid further
regressions (especially as the handling of telemetry levels is bound to
change further with #11754).

---------

Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
2025-03-04 15:57:23 +00:00
..
Makefile Split config/configtelemetry into its own module (#7908) 2023-06-16 12:28:43 -07:00
configtelemetry.go [service] Move batchprocessor metrics to normal level and update level guidelines (#12525) 2025-03-04 15:57:23 +00:00
configtelemetry_test.go [chore]: enable gofumpt linter in client, cmd, component, config and confmap (#11587) 2024-12-11 08:50:57 +00:00
doc.go [service] Move batchprocessor metrics to normal level and update level guidelines (#12525) 2025-03-04 15:57:23 +00:00
go.mod bump minimum supported go version to 1.23 (#12370) 2025-02-12 15:03:19 +00:00
go.sum fix(deps): update module github.com/stretchr/testify to v1.10.0 (#11751) 2024-11-26 11:09:39 -08:00
package_test.go [chore] Enable goleak for all (passing) tests (#9173) 2024-01-03 08:35:58 -08:00