Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

hmrc/aws-lambda-telescope-elasticsearch

Repository files navigation

aws-lambda-telescope-elasticsearch

Brought to you by Telemetry Team

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.

Requirements

Quick start

# 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

Environment variables

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")

License

This code is open source software licensed under the Apache 2.0 License.

References

License

This code is open source software licensed under the Apache 2.0 License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6