Telescope Elasticsearch queries the elastic API and derives metrics that are then sent to clickhouse.
Please check the telemetry-terraform repository for details on how this Lambda is deployed.
# Install correct version of Python
pyenv install $(cat .python-version)
# Optional set up environment variables
export POETRY_VIRTUALENVS_IN_PROJECT=true
export PYTHONPATH=/home/james/hmrcDev/aws-lambda-telescope-elasticsearch
export MDTP_ENVIRONMENT=integration
# Run tests:
make test
# Package the lambda locally:
make package
The following environment variables are processed by the lambda handler and can therefore be set in Terraform to override the defaults provided:
lambda_name
(default: "telescope-elasticsearch")log_level
(default: "INFO")
This code is open source software licensed under the Apache 2.0 License.
This code is open source software licensed under the Apache 2.0 License.