Skip to content

[BUG] OS 3.1 not showing node level traces for DBQ queryΒ #5990

@Deepti24

Description

@Deepti24

Describe the bug

Setup: Created a local setup of Open Search 3.1 with jaegar to view traces. I am able to see http level traces but not detailed traces at node/shard level to debug slow DBQ queries. Configs used:

telemetry.feature.tracer.enabled - true
opensearch.experimental.feature.telemetry.enabled - true
telemetry.tracer.enabled - true
telemetry.tracer.sampler.probability - 1
telemetry.otel.tracer.span.exporter.class - io.opentelemetry.exporter.otlp.http.trace.OtlpHttpSpanExporter

Plugin: Open Telemetry plugin

Attaching screenshot for the same

Image

Related component

Plugins

To Reproduce

  1. Run OS version 3.1 in local and enable configs as mentioned above. Also start jaegar so that you are able to visualise traces.
  2. Run DBQ query at URL: https://localhost:8443/test-index-dbq-tracing/_delete_by_query?wait_for_completion=true&requests_per_second=500&conflicts=proceed
  3. Check jaegar UI with relevant trace id. We will not see scroll or node level traces. Just http level traces.

Expected behavior

We should see traces at node and scroll level.

Additional Details

Plugins
telemetry-otel

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):
Os version 3.1

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PluginsbugSomething isn't workingtriagedIssues labeled as 'Triaged' have been reviewed and are deemed actionable.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions