GiamPy5 / terraform-aws-directus

This repository allows you to deploy Directus in AWS using Terraform following AWS Best Practises.
https://registry.terraform.io/modules/GiamPy5/directus/aws/latest
MIT License
11 stars 1 forks source link

feat: Adds X-Ray integration #9

Open GiamPy5 opened 3 weeks ago

GiamPy5 commented 3 weeks ago

X-Ray integration has been implemented, however this is useless without application changes to add tracing.

https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-nodejs.html

huypd6946-cowell commented 2 weeks ago

Thanks for the quick response in integrating X-Ray with Directus. Could you guide me on which files in Directus need to be modified to add tracing? I want to build a custom Directus image to test with X-Ray.

GiamPy5 commented 2 weeks ago

Thanks for the quick response in integrating X-Ray with Directus. Could you guide me on which files in Directus need to be modified to add tracing? I want to build a custom Directus image to test with X-Ray.

To be completely honest, I have no idea! 🍡

It's better to ask the Directus team to understand the best place to do this.

GiamPy5 commented 2 weeks ago

I've managed to gather some information from Directus' Discord and this is what they shared with me: https://github.com/directus/directus/blob/6a4413c7bd715eaff2dc80dfbc04601e751d79cf/api/src/app.ts#L72 @huypd6946-cowell