Code Monkey home page Code Monkey logo

amazon-timestream-telegraf-and-grafana-demo's Introduction

Amazon Timestream with Telegraf and Grafana Demo

The purpose of this repository is to demo how to ingest time series data in this case Amazon EC2 instance metrics such as CPU, Memory, Disk into Amazon Timestream.

AWS CloudFormation template (main.yaml) will also deploy an Amazon EC2 instance with Grafana.

Launch the AWS CloudFormation Stack

Click on the Launch Stack button below to launch the CloudFormation Stack to set up the Amazon Timestream with Telegraf Sample in the region of your preference, by default this demo will be deployed in us-west-2 (Oregon) region.

Launch CFN stack

Provide a stack name eg timestream-telegraf.

You can launch the same stack using the AWS CLI. Here's an example:

aws cloudformation create-stack --stack-name timestream-telegraf \
   --template-body file://main.yaml \
   --capabilities CAPABILITY_NAMED_IAM \
   --region us-west-2

Accessing Grafana Dashboard

Once stack creation is completed, it will output the Application Load Balancer DNS Name under "Outputs" tab of your stack. Another way of accessing via CLI:

aws cloudformation describe-stacks --stack-name timestream-telegraf \
   --query "Stacks[0].Outputs[0].OutputValue" \
   --region us-west-2

Username: admin Password: admin

After logged in, under Dashboards, you will find a sample dashboard called "Amazon Timestream Dashboard".

Clean up

After completing your demo, delete AWS CloudFormation Stack using AWS Console or AWS CLI:

aws cloudformation delete-stack --stack-name timestream-telegraf  --region us-west-2

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

amazon-timestream-telegraf-and-grafana-demo's People

Contributors

amazon-auto avatar sgulbetekin avatar

Watchers

 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.