[service] fix proctelemetry registration bug by codeboten · Pull Request #11093 · open-telemetry/opentelemetry-collector (original) (raw)

@codeboten mentioned this pull request

Sep 9, 2024

dmitryax

bogdandrutu

bogdandrutu

@codeboten

This bug caused proctelemetry metrics to not be registered if a user configured the Collector's internal telemetry via readers only and disabled address. The check in the if statement is no longer needed since a no-op meter provider will be configured unless the telemetry level is set.

Signed-off-by: Alex Boten 223565+codeboten@users.noreply.github.com

@codeboten

Signed-off-by: Alex Boten 223565+codeboten@users.noreply.github.com

@codeboten

Signed-off-by: Alex Boten 223565+codeboten@users.noreply.github.com

@codeboten

Signed-off-by: Alex Boten 223565+codeboten@users.noreply.github.com

@codeboten

Signed-off-by: Alex Boten 223565+codeboten@users.noreply.github.com

TylerHelmuth

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})