You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The instrumentation of opensearch in JAVA does not work with opensearch-java and the aws-sdk.
The current integration only covers opensearch-rest and opensearch-transport. When using a managed OpenSearch by AWS, we should use the openSearch-java according to the AWS Documentation which does not use the opensearch-rest or opensearch-transport implementation.
SdkHttpClient httpClient = ApacheHttpClient.builder().build();
OpenSearchClient client = new OpenSearchClient(
new AwsSdk2Transport(
httpClient,
"search-...us-west-2.es.amazonaws.com", // OpenSearch endpoint, without https://
"es",
Region.US_WEST_2, // signing service region
AwsSdk2TransportOptions.builder().build()
)
);
InfoResponse info = client.info();
System.out.println(info.version().distribution() + ": " + info.version().number());
httpClient.close();
The text was updated successfully, but these errors were encountered:
The instrumentation of opensearch in JAVA does not work with opensearch-java and the aws-sdk.
The current integration only covers opensearch-rest and opensearch-transport. When using a managed OpenSearch by AWS, we should use the openSearch-java according to the AWS Documentation which does not use the opensearch-rest or opensearch-transport implementation.
The text was updated successfully, but these errors were encountered: