This Lambda layer has been deprecated. Please refere to our Documentation for our latest layer. Coralogix AWS Telemetry Exporter
Coralogix is a machine data analytics SaaS platform that drastically improves the delivery & maintenance process for software providers. Using proprietary machine learning algorithms, Coralogix helps over 100 businesses reduce their issue resolution time, improve customer satisfaction and decrease maintenance costs. The extension provides full integration of lambda function with Coralogix service.
- Open
Serverless Application Repositoryservice in your AWS Console and findCoralogix-Lambda-Extensionapplication. - Configure
CompatibleRuntimesparameter and select runtimes for your purposes (you can select up to 5 runtimes). - Click to
Deploybutton and wait until extension layer will be created in your account.
Add extension layer coralogix-extension-<arch> to your function, where arch is one of x86_64 or arm64 and define following environment variables:
- CORALOGIX_LOG_URL - Coralogix endpoint URL (default:
https://api.coralogix.com/api/v1/logs). - CORALOGIX_PRIVATE_KEY - A unique ID which represents your company, this Id will be sent to your mail once you register to Coralogix.
- CORALOGIX_APP_NAME - Used to separate your environment, e.g. SuperApp-test/SuperApp-prod (default:
Lambda Function Name). - CORALOGIX_SUB_SYSTEM - Your application probably has multiple subsystems, for example, Backend servers, Middleware, Frontend servers etc (default:
logs).
In case if you deploy your lambda as container image, to inject extension as part of your function just copy it to your image:
FROM coralogixrepo/coralogix-lambda-extension:latest AS coralogix-extension
FROM public.ecr.aws/lambda/python:3.8
# Layer code
WORKDIR /opt
COPY --from=coralogix-extension /opt/ .
# Function code
WORKDIR /var/task
COPY app.py .
CMD ["app.lambda_handler"]More details you can find here.