Skip to content

fix: allow traces.write.otlphttp.endpoint without grpc-listen flag#873

Merged
philipgough merged 1 commit intoobservatorium:mainfrom
frzifus:enable_otlp-http
Feb 26, 2026
Merged

fix: allow traces.write.otlphttp.endpoint without grpc-listen flag#873
philipgough merged 1 commit intoobservatorium:mainfrom
frzifus:enable_otlp-http

Conversation

@frzifus
Copy link
Copy Markdown
Contributor

@frzifus frzifus commented Feb 24, 2026

The validation logic incorrectly required --grpc-listen for all traces endpoints. This prevented using --traces.write.otlphttp.endpoint alone, even though OTLP HTTP uses the standard HTTP server (port 8080) and doesn't need gRPC.

Before

Adding the following arg:

--traces.write.otlphttp.endpoint=http://tempo-observatorium-tempostack-distributor.rhobs-int.svc.cluster.local:4318

did result in:

2026/02/24 23:30:30 parse flag: -traces.write.endpoint is set to "" but -grpc.listen is not set

The validation logic incorrectly required --grpc-listen for all traces
endpoints. This prevented using --traces.write.otlphttp.endpoint alone,
even though OTLP HTTP uses the standard HTTP server (port 8080) and
doesn't need gRPC.
@philipgough
Copy link
Copy Markdown
Contributor

Merging since e2e failure is unrelated

@philipgough philipgough merged commit 35c76e9 into observatorium:main Feb 26, 2026
4 of 5 checks passed
Copilot AI pushed a commit that referenced this pull request Feb 26, 2026
)

The validation logic incorrectly required --grpc-listen for all traces
endpoints. This prevented using --traces.write.otlphttp.endpoint alone,
even though OTLP HTTP uses the standard HTTP server (port 8080) and
doesn't need gRPC.
@frzifus frzifus deleted the enable_otlp-http branch February 26, 2026 11:37
philipgough pushed a commit to rhobs/api that referenced this pull request Apr 10, 2026
…bservatorium#873)

The validation logic incorrectly required --grpc-listen for all traces
endpoints. This prevented using --traces.write.otlphttp.endpoint alone,
even though OTLP HTTP uses the standard HTTP server (port 8080) and
doesn't need gRPC.
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.

3 participants