Git Product home page Git Product logo

aws-lambda-telescope-elasticsearch's Introduction

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.

aws-lambda-telescope-elasticsearch's People

Contributors

corinwilkins avatar sjpalf avatar hmrc-web-operations avatar crumplepang avatar vitorbrandao avatar

Watchers

Gavin Davies avatar  avatar  avatar Craig Edmunds avatar  avatar  avatar Reeshi Shah avatar Dave Randall avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.