Skip to content

feat: use autoexport to dynamically select OTEL protocol#13

Merged
simpsonw merged 1 commit into
mainfrom
simpsonw.githubappsts-dynamic-otel-protocol
Mar 25, 2026
Merged

feat: use autoexport to dynamically select OTEL protocol#13
simpsonw merged 1 commit into
mainfrom
simpsonw.githubappsts-dynamic-otel-protocol

Conversation

@simpsonw
Copy link
Copy Markdown
Member

Description

This PR refactors our OTEL code to use autoexport.

Context / Why are we making this change?

The autoexport package dynamically selects the correct protocol for OTEL (either gRPC or HTTP) depending upon an environment variable.

Testing and QA Plan

I built this locally and deployed it to the ESP sandbox.

Impact

OTEL will switch its export protocol based on OTEL_EXPORTER_OTLP_PROTOCOL.

@simpsonw simpsonw merged commit 81a7aa1 into main Mar 25, 2026
2 checks passed
@simpsonw simpsonw deleted the simpsonw.githubappsts-dynamic-otel-protocol branch March 25, 2026 21:48
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