Remote Configuration for Traces/Metrics GRPC #13323
Labels
enhancement
Enhancement or improvement to existing feature or request
Plugins
Telemetry:Tracing
PRs or issues specific to telemetry tracing framework
Is your feature request related to a problem? Please describe
The feature is required to send traces and metrics of opensearch to external monitoring tools like signoz.
We have tested metrics and traces, it's working properly on a log file, and tested the grpc, and working fine, but we were not able to use a specific configuration for otlp to send those traces and metrics to signoz as an example.
We checked the docs and noticed that it's not configurable.
We found a typo related to the grpc configuration for traces, the class in the docs is mentioned incorrectly
telemetry.otel.tracer.span.exporter.class=org.opensearch.telemetry.tracing.exporter.OtlpGrpcSpanExporterProvider
, while it should have the following valuetelemetry.otel.tracer.span.exporter.class: io.opentelemetry.exporter.otlp.trace.OtlpGrpcSpanExporter
Another note would be related to trace configuration,
telemetry.feature.tracer.enabled: true
this configuration is not mentioned in the docs, I got the support from @Gaganjuneja in another story Metrics Framework, and tested and it's working fine for the trace file log configuration.Describe the solution you'd like
1- Create a new environment variable for this case.
2- Reuse the environment variable featured by opentelemetry
OTEL_EXPORTER_OTLP_ENDPOINT
.3- Create a configmap or additional opensearch.yml configuration.
Related component
Plugins
Describe alternatives you've considered
The alternative solution now is to use a reverse proxy for rerouting / redirecting traffic to a remote otel-collector server, but I believe it's not practical and I would not use it within Kubernetes cluster deployment.
Additional context
No response
The text was updated successfully, but these errors were encountered: