Giter Club home page Giter Club logo

cloudwatch-public-metrics's Introduction

Hi, I'm Rafal ๐Ÿ‘‹

๐Ÿฆพ AI Lead @ Vendr
๐Ÿ˜Ž Founder of Dynobase & ChatWithCloud - CLI that lets you speak to your AWS cloud using human language
๐Ÿ‡ต๐Ÿ‡ฑ Living in Poznan, Poland

Find me elsewhere ๐ŸŒ

๐Ÿก My blog
๐Ÿฆ Twitter
๐Ÿ“ธ Instagram
๐Ÿ‘” Linkedin

cloudwatch-public-metrics's People

Contributors

rafalwilinski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

toketunji anibus

cloudwatch-public-metrics's Issues

Fix lambda permissions

After deploying function to AWS, seems like Lambda has incorrect IAM policies attached:

AccessDenied: User: arn:aws:sts::085108115628:assumed-role/lambda-dashboard-dev-us-east-1-lambdaRole/lambda-dashboard-dev-main is not authorized to perform: cloudwatch:GetMetricStatistics
    at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/query.js:47:29)
    at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
    at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:683:14)
    at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)

Add ability to expose multiple metrics at once

As title says. Building simple dashboards should be also possible.

I have a notion that it would require change the way how config is passed to lambda function. Instead of using env variables which are a bit primitive, config should be hardcoded before deployment and expressed in .js file?

Add rate limiting

To prevent DDoS attacks, it should be possible to config rate limiting. It is possible to setup it inside API Gateway options but does Serverless framework supports that? Need to check.

Decrease artifact size

Right now service zip file is 17.25 MB which is definitely too big for such simple app.

Add interactivity to chart

Right now whole page is 100% static and does not allow any interactions.

Question: Do you believe that adding interactions to chart would be beneficial?

Add npx integration

It should be possible to provision whole page using one npx-based command.

Something like:

npmx cloudwatch-public-metrics \
  --metricName AWS/Billing//EstimatedCharges \
  --metricDuration 15days \
  and so on..

Blocked by: #4

Add eslint setup

To prevent basic bugs and enforce consistent codestyle, eslint should be added.

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.