All Projects → RafalWilinski → cloudwatch-public-metrics

RafalWilinski / cloudwatch-public-metrics

Licence: other
Expose AWS Cloudwatch Metrics as a public HTML page using AWS Lambda and server-side rendering

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to cloudwatch-public-metrics

Ng Toolkit
⭐️ Angular tool-box! Start your PWA in two steps! Add Serverless support for existing projects and much more
Stars: ✭ 1,116 (+4033.33%)
Mutual labels:  server-side-rendering, serverless-framework
angular-prerender
A command line tool to prerender Angular Apps.
Stars: ✭ 123 (+355.56%)
Mutual labels:  server-side-rendering
serverless-authorizers
Examples to use aws API Gateway authorizer feature to authorize your endpoints with different ways
Stars: ✭ 31 (+14.81%)
Mutual labels:  serverless-framework
reflect
Static site generator for WordPress.
Stars: ✭ 19 (-29.63%)
Mutual labels:  server-side-rendering
workers-react-pwa-example
No description or website provided.
Stars: ✭ 80 (+196.3%)
Mutual labels:  server-side-rendering
serverless-aws-rust-multi
⚡🏗️ template for new aws lambda serverless rust http apps
Stars: ✭ 51 (+88.89%)
Mutual labels:  serverless-framework
vue-js-laravel-multi-ssr
Source code for the article "Advanced Server-Side Rendering With Laravel & Vue: Multi-Page App"
Stars: ✭ 37 (+37.04%)
Mutual labels:  server-side-rendering
stimulus reflex todomvc
An implementation of TodoMVC using Ruby on Rails, StimulusJS, and StimulusReflex
Stars: ✭ 50 (+85.19%)
Mutual labels:  server-side-rendering
serverless-swagger-api
Simplifies the process of generating an API Gateway API from a swagger file.
Stars: ✭ 15 (-44.44%)
Mutual labels:  serverless-framework
a-crash-course-on-serverless-with-nodejs
A quick and easy guide of how to hook up a single Serverless service.
Stars: ✭ 28 (+3.7%)
Mutual labels:  serverless-framework
react-data-fetching-components
♻️ Asynchronously load data for your React components with SSR
Stars: ✭ 13 (-51.85%)
Mutual labels:  server-side-rendering
quasar-hackernews
HackerNews clone built with Vue 2.0, vue-router & vuex & Quasar Framework, with server-side rendering
Stars: ✭ 25 (-7.41%)
Mutual labels:  server-side-rendering
craft-react
Client and Server-side React rendering for CraftCMS
Stars: ✭ 40 (+48.15%)
Mutual labels:  server-side-rendering
react-loadable-ssr-addon
Server Side Render add-on for React Loadable. Load splitted chunks was never that easy.
Stars: ✭ 68 (+151.85%)
Mutual labels:  server-side-rendering
lambda-sns-dlq-error-handling
Sample project for showing the ability to publish an SNS topic and trigger a function from the topic. Code is structured to create a timeout/crash so the dead letter queue SNS topic gets published, in turn triggering the error handler function.
Stars: ✭ 31 (+14.81%)
Mutual labels:  serverless-framework
docker-bare-infra
Docker based, minimal infrastructure boilerplate, with MySQL, WordPress, a React application and Nginx
Stars: ✭ 11 (-59.26%)
Mutual labels:  server-side-rendering
serverless-modular
⚡️ serverless plugin for microservice code management and deployment.
Stars: ✭ 19 (-29.63%)
Mutual labels:  serverless-framework
pokedex-nextjs
Get to know the different render methods that the Next.js framework provides by exploring Pokemons
Stars: ✭ 39 (+44.44%)
Mutual labels:  server-side-rendering
easywebpack-vue
Vue Webpack Building Solution, Support Vue Server Side Render (SSR), Client Side Render (CSR) Building
Stars: ✭ 29 (+7.41%)
Mutual labels:  server-side-rendering
fastify-vite
This plugin lets you load a Vite client application and set it up for Server-Side Rendering (SSR) with Fastify.
Stars: ✭ 497 (+1740.74%)
Mutual labels:  server-side-rendering

Logo

serverless

Expose AWS Cloudwatch Metrics as a public HTML page using AWS Lambda and server-side rendering, for free. Inspired by Yan Cui's concept & status.github.com

Demo

Demo

Todo - my AWS account estimated charges

Usage

First, ensure that you have Serverless Framework installed. If not, install it:

$ npm install serverless -g

Clone the repo, install dependencies and deploy function:

$ git clone https://github.com/RafalWilinski/cloudwatch-public-metrics
$ npm install
$ npm run deploy

Config

cloudwatch-public-metrics can be configured in two ways:

  1. Using config.yml file:
METRIC_NAME: <Use "Namespace//MetricName" format e.g.: AWS/Billing//EstimatedCharges>   *required*
METRIC_TITLE: <Add custom title like: "Total AWS Charges">
METRIC_DURATION: <EndDate - StartDate e.g: "7 days">                                    *required*
METRIC_STATISTIC: <One of: ["Average", "Sum", "SampleCount", "Minimum", "Maximum"]>     *required*
METRIC_DIMENSIONS: <Comma separated array of Name=Value pair e.g.: "Currency=USD,InstanceId=123">
METRIC_SUFFIX: <For instance "%", "ms" or "$">
USAGE_PLAN: <Rate limiting configuration, see: https://serverless.com/framework/docs/providers/aws/guide/serverless.yml/>
  1. Using CLI flags:
$ npm run deploy -- \
 --metricName AWS/Billing//EstimatedCharges \
 --metricTitle Estimated\ Charges \
 --metricDuration 15\ days \
 --metricStatistic Average \
 --metricDimensions Currency\=USD \
 --metricSuffix \$

Development

AWS_REGION=us-east-1 npm run watch

License

MIT © Rafal Wilinski

Credits

Logo by Dinosoft Labs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].