Skip to content

refactor(confgenerator): consolidate OTLP gRPC exporter configuration#2338

Open
rafaelwestphal wants to merge 5 commits into
ops_agent_3.0from
westphalrafael/simplify-otlp-exporter-config
Open

refactor(confgenerator): consolidate OTLP gRPC exporter configuration#2338
rafaelwestphal wants to merge 5 commits into
ops_agent_3.0from
westphalrafael/simplify-otlp-exporter-config

Conversation

@rafaelwestphal

Copy link
Copy Markdown
Contributor

Description

Following the decommissioning of legacy GCM and GMP exporters in favor of OTLP across all telemetry signals, this change streamlines how OTLP exporter configurations are generated in the unified configuration generator.

Related issue

How has this been tested?

Checklist:

  • Unit tests
    • Unit tests do not apply.
    • Unit tests have been added/modified and passed for this PR.
  • Integration tests
    • Integration tests do not apply.
    • Integration tests have been added/modified and passed for this PR.
  • Documentation
    • This PR introduces no user visible changes.
    • This PR introduces user visible changes and the corresponding documentation change has been made.
  • Minor version bump
    • This PR introduces no new features.
    • This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
    • This PR bumps the version.

This change removes the legacy Google Cloud Monitoring (GCM) and Google Managed Prometheus (GMP) exporters from the Ops Agent.
Traces are now exported via OTLP by default, matching metrics and logs.
Removed dead code including exporter definitions, helper converters, and unused configuration options.
Updated golden files to reflect the OTLP-only output.
…in network check

Remove unused LogApiPermissionErr, MonApiPermissionErr, LogApiDisabledErr, MonApiDisabledErr.

Remove LogApiConnErr and MonApiConnErr.

Update network check to ping telemetry.googleapis.com and use TelApiConnErr.

Update integration test expectations.
@rafaelwestphal rafaelwestphal force-pushed the westphalrafael/simplify-otlp-exporter-config branch from 03e632a to e46043c Compare June 9, 2026 15:04
@rafaelwestphal rafaelwestphal marked this pull request as ready for review June 9, 2026 15:07
@rafaelwestphal rafaelwestphal added the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 10, 2026
@stackdriver-instrumentation-release stackdriver-instrumentation-release removed the kokoro:force-run Forces kokoro to run integration tests on a CL label Jun 10, 2026
…lify-otlp-exporter-config

# Conflicts:
#	integration_test/agents/agents.go
#	integration_test/third_party_apps_test/applications/nvml/centos_rhel/install
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.

2 participants