Skip to content

Update otel target to handle breaking change #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 14, 2025

Conversation

TylerHelmuth
Copy link
Contributor

@TylerHelmuth TylerHelmuth commented Apr 1, 2025

The v0.123.0 release of collector core has promoted a feature gate to beta that removes support for service.telemetry.metrics.address. As of v0.123.0 this setting does nothing unless the feature gate is disabled.

Since the collector is moving away from service.telemetry.metrics.address in favor of the otel sdk configuration, this PR updates the otel target to use the otel go's metrics SDK to export metrics via prometheus.

Collector contrib has a workflow that is failing right now because of the breaking change, but this PR will fix it.

Closes open-telemetry/opentelemetry-collector-contrib#39105

Signed-off-by: Tyler Helmuth <[email protected]>
Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@bwplotka bwplotka merged commit 586a19f into prometheus:main Apr 14, 2025
6 checks passed
@TylerHelmuth TylerHelmuth deleted the update-otel-target branch April 14, 2025 14:54
TylerHelmuth added a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Apr 14, 2025
#### Description

prometheus/compliance#160 is merged, updating
workflow to use new binary name

#### Link to tracking issue
Fixes
#39105
akshays-19 pushed a commit to akshays-19/opentelemetry-collector-contrib that referenced this pull request Apr 23, 2025
#### Description

prometheus/compliance#160 is merged, updating
workflow to use new binary name

#### Link to tracking issue
Fixes
open-telemetry#39105
Fiery-Fenix pushed a commit to Fiery-Fenix/opentelemetry-collector-contrib that referenced this pull request Apr 24, 2025
#### Description

prometheus/compliance#160 is merged, updating
workflow to use new binary name

#### Link to tracking issue
Fixes
open-telemetry#39105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken prometheus compliance tests
4 participants