Skip to content

Comments

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

Open
frzifus wants to merge 1 commit intoobservatorium:mainfrom
frzifus:enable_otlp-http
Open

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

Conversation

@frzifus
Copy link
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.
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.

1 participant