-
Notifications
You must be signed in to change notification settings - Fork 871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instrumentation for Elasticsearch 8+ #8799
Instrumentation for Elasticsearch 8+ #8799
Conversation
Signed-off-by: Alexander Wert <[email protected]>
Signed-off-by: Alexander Wert <[email protected]>
Open TODOs
|
Signed-off-by: Alexander Wert <[email protected]>
Signed-off-by: Alexander Wert <[email protected]>
96d87e5
to
74b8623
Compare
...ion/elasticsearch/elasticsearch-rest-7.0/javaagent/src/test/java/ElasticsearchRest7Test.java
Outdated
Show resolved
Hide resolved
instrumentation/elasticsearch/elasticsearch-api-client-8.0/javaagent/build.gradle.kts
Outdated
Show resolved
Hide resolved
instrumentation/elasticsearch/elasticsearch-api-client-8.0/javaagent/build.gradle.kts
Outdated
Show resolved
Hide resolved
...lemetry/javaagent/instrumentation/elasticsearch/apiclient/v8_0/ElasticsearchEndpointMap.java
Outdated
Show resolved
Hide resolved
...lemetry/javaagent/instrumentation/elasticsearch/apiclient/v8_0/ElasticsearchEndpointMap.java
Outdated
Show resolved
Hide resolved
...ticsearch/elasticsearch-api-client-8.0/javaagent/src/test/java/ElasticsearchClient8Test.java
Outdated
Show resolved
Hide resolved
...etry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchClientAttributeExtractor.java
Outdated
Show resolved
Hide resolved
...etry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchClientAttributeExtractor.java
Outdated
Show resolved
Hide resolved
...etry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchClientAttributeExtractor.java
Outdated
Show resolved
Hide resolved
...etry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchClientAttributeExtractor.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Alexander Wert <[email protected]>
Signed-off-by: Alexander Wert <[email protected]>
...nstrumentation/elasticsearch/apiclient/v8_0/ElasticsearchApiClientInstrumentationModule.java
Outdated
Show resolved
Hide resolved
...lemetry/javaagent/instrumentation/elasticsearch/apiclient/v8_0/ElasticsearchEndpointMap.java
Outdated
Show resolved
Hide resolved
...etry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchClientAttributeExtractor.java
Outdated
Show resolved
Hide resolved
...etry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchClientAttributeExtractor.java
Outdated
Show resolved
Hide resolved
...etry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchClientAttributeExtractor.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Alexander Wert <[email protected]>
1e4503e
to
d9c5117
Compare
@AlexanderWert in case you didn't notice tests are failing when run against the latest version of the library, see https://scans.gradle.com/s/fwagc36gfpmv4/tests |
fixing it |
Signed-off-by: Alexander Wert <[email protected]>
...pentelemetry/javaagent/instrumentation/elasticsearch/apiclient/ElasticsearchEndpointMap.java
Outdated
Show resolved
Hide resolved
...pentelemetry/javaagent/instrumentation/elasticsearch/apiclient/ElasticsearchEndpointMap.java
Outdated
Show resolved
Hide resolved
...ntelemetry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchEndpointDefinition.java
Outdated
Show resolved
Hide resolved
...ntelemetry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchEndpointDefinition.java
Outdated
Show resolved
Hide resolved
...ntelemetry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchEndpointDefinition.java
Show resolved
Hide resolved
...etry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchClientAttributeExtractor.java
Outdated
Show resolved
Hide resolved
...ticsearch/elasticsearch-api-client-7.16/javaagent/src/test/java/ElasticsearchClientTest.java
Outdated
Show resolved
Hide resolved
...ticsearch/elasticsearch-api-client-7.16/javaagent/src/test/java/ElasticsearchClientTest.java
Outdated
Show resolved
Hide resolved
...ticsearch/elasticsearch-api-client-7.16/javaagent/src/test/java/ElasticsearchClientTest.java
Outdated
Show resolved
Hide resolved
...ion/elasticsearch/elasticsearch-rest-7.0/javaagent/src/test/java/ElasticsearchRest7Test.java
Outdated
Show resolved
Hide resolved
...etry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchClientAttributeExtractor.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Alexander Wert <[email protected]>
4d0f27b
to
240f218
Compare
Signed-off-by: Alexander Wert <[email protected]>
@mateuszrzeszutek, @laurit |
...ntelemetry/javaagent/instrumentation/elasticsearch/rest/ElasticsearchDbAttributesGetter.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should check whether you need to update https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/supported-libraries.md#libraries--frameworks It lists Elasticsearch API and Elasticsearch REST Client Should it also have Elasticsearch Java API Client
?
@AlexanderWert I think we can merge this once you have checked whether you need to update the supported libraries |
Signed-off-by: Alexander Wert <[email protected]>
Thanks @laurit , I've added the new instrumentation to the list of supported libraries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's @AlexanderWert ! LGTM 👍
New instrumentation module for Elasticsearch Clients 8+.
Fixes #8484