zmoog / public-notes

Apache License 2.0
0 stars 1 forks source link

Figure out how to enable APM on ESF #9

Closed zmoog closed 1 year ago

zmoog commented 1 year ago

I deployed ESF, and it is running smoothly, and life is good.

Now I want to enable APM to get better visibility on the lambda function execution.

zmoog commented 1 year ago

According to https://www.elastic.co/guide/en/observability/master/aws-deploy-elastic-serverless-forwarder.html:

To enable Elastic APM instrumentation for your new deployment:

Key Value
ELASTIC_APM_ACTIVE true
ELASTIC_APM_SECRET_TOKEN token
ELASTIC_APM_SERVER_URL url
zmoog commented 1 year ago

To get the required settings, log into your Elastic deployment and:

Select one of the existing APM Agents and then copy and paster the secret token and server URL.

CleanShot 2023-02-24 at 08 56 25@2x

zmoog commented 1 year ago

Enjoy APM 🍸

CleanShot 2023-02-23 at 12 30 20@2x