Giter VIP home page Giter VIP logo

aws_dms_task_status_exporter's Introduction

aws_dms_task_status_exporter

This is an exporter for monitor status of AWS DMS replication tasks.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

This project requires installed in your machine the Python 3.7 and pip.

With that packages, you will need to install some libs for the project, to install then, use the follow command:

pip install -r requirements.txt

Now you have all the dependencies :)

Installing

To run locally, you need all prerequisites installed.

Before execute, create a yaml file, with all replication tasks id you want to monitor the status, you could modify or base your yaml in example.yml.

This project uses three environment variables, which you need to create, the envs are:

  • AWS_ACCESS_KEY (access key with dms read permissions)
  • AWS_SECRET_KEY (secret key)
  • AWS_REGION (Optional/May be declared in yaml file as region)

Now to execute the exporter, just run:

python exporter.py --file example.yml

Case you prefer run in docker, build the image and run the container:

docker build -t aws_dms_task_status_exporter .
docker run -itd --name exporter -p 9213:9213 -e AWS_ACCESS_KEY="<AWS_ACCESS_KEY>" -e AWS_SECRET_KEY="<AWS_SECRET_KEY>" -e REGION="<REGION>" aws_dms_task_status_exporter:latest

To see the metrics, you can access: localhost:9213/metrics

Built With

Authors

  • Guilherme Sponda - Initial work - g-sponda

See also the list of contributors who participated in this project.

aws_dms_task_status_exporter's People

Contributors

b0nete 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.