How do you emit trace spans from OpenSearch

0

How do you configure AWS OpenSearch to emit trace spans for e.g. Datadog APM or AWS X-Ray?

(Note this question is NOT about getting traces into OpenSearch.)

Florian
질문됨 일 년 전251회 조회
2개 답변
0

Hi, Thanks for reaching out to us. Amazon OpenSearch does export its metrics to Cloudwatch, and 3rd party services (like Datadog) can read from Cloudwatch metrics. So you can configure the datadog to read those metrics. You have to check which metrics they are interested in monitoring. Heres the list of available ones: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-cloudwatchmetrics.html

Please note that CloudWatch will charge for extra API calls (like metrics reads, dashboards, alarms, etc) so if the 3rd party tool keeps polling CloudWatch API constantly for Opensearch metrics, you will be charged accordingly.

Thank you!

답변함 일 년 전
  • Thanks for your answer. However, I was not asking about metrics. I was asking if AWS OpenSearch can emit distributed trace data, e.g. for AWS X-Ray. I want to be able to see how much OpenSearch contributes to the latency of individual requests.

    Can AWS OpenSearch emit the necessary span data to import and display in a distributed trace like in AWS X-Ray?

0

Hi,

Thanks for reaching back. Please note that AWS OpenSearch unfortunately does not have the feature to emit trace data directly. However you can view the latency by the cloudwatch metrics like SearchLatency [1]. This can be visualized using Datadog but not AWS X-ray.

Thank you!

References


https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-cloudwatchmetrics.html#managedomains-cloudwatchmetrics-instance-metrics
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인