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
demandé il y a un an251 vues
2 réponses
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!

répondu il y a un an
  • 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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions