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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则