Skip to content

elasticsearch instrumentation creates too many span names, with unique document IDs. #704

@remram44

Description

@remram44

Describe your environment
Using opentelemetry-instrumentation-elasticsearch 0.24b0 with elasticsearch 7.14.1

Steps to reproduce
Perform some index() and/or delete() calls with id parameter set

What is the expected behavior?
The number of span names created is reasonable and finite

What is the actual behavior?
An unbounded number of span names get created, containing the unique document names. This makes it hard to search through operations, for example in Jaeger:

screenshot

The datamart.test.xxxx parts are the Elasticsearch document IDs.

Additional context
I have a patch for this incoming.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions