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
質問済み 1年前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!

回答済み 1年前
  • 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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ