open-telemetry / opentelemetry-python-contrib

OpenTelemetry instrumentation for Python modules
https://opentelemetry.io
Apache License 2.0
734 stars 607 forks source link

Instrumentation for opensearch-py #1131

Open yossicohn opened 2 years ago

yossicohn commented 2 years ago

Is your feature request related to a problem? Opting out from Elasticsearch to OpenSearch, we lose the capabilities of Elasticsearch Tracing since the OpenSearch has no instrumentation yet.

Describe the solution you'd like OpenSearch instrumentation

Describe alternatives you've considered None

dacevedo12 commented 1 year ago

I can take a look at this.

Would it be better to create a new instrumentor or modify the elasticsearch one to support other libraries, in a similar fashion to https://github.com/DataDog/dd-trace-py/blob/1.x/ddtrace/contrib/elasticsearch/patch.py?