Skip to content

Remote Configuration for Traces/Metrics GRPC #13323

Open
@zalseryani

Description

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 value telemetry.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

  • There are 3 solutions
    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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    PluginsTelemetry:TracingPRs or issues specific to telemetry tracing frameworkenhancementEnhancement or improvement to existing feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions