Skip to content

Add support for Elasticsearch 8.16.x #2938

@jaffinito

Description

@jaffinito

Describe the story, please be clear on scope of the story.

The current instrumentation for Elasticsearch only supports up to 8.15.x. In 8.16.x+ of the client, Elastic.Transport was updated to 0.5.2. This version changes the signature of the Request/RequestAsync APIs.

Old API: https://github.com/elastic/elastic-transport-net/blob/0.4.26/src/Elastic.Transport/ITransport.cs
New API: https://github.com/elastic/elastic-transport-net/blob/0.5.2/src/Elastic.Transport/ITransport.cs
(note that the Elastic.Transport version has been updated multiple times since this issue was created, so additional API verification may be required.)

This will require additional work due to the data we were using (http method, path, and request parameters) no longer being directly available as method parameters. I believe the data is still available, but we will need to look for it in other types.

Acceptance Criteria

  • Elasticsearch client 16.x+ is instrumented
  • Integration tests

Dependencies

  • Dependencies on UI
  • Dependencies on Backend
  • Other dependencies ....

Describe Design Consideration/Limitations

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context here.

Estimates

Please provide initial t-shirt size

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions