Skip to content

isabella232/compute-autoscale-metric-nodejs

 
 

Repository files navigation

Compute Engine Autoscaling Using Stackdriver Custom Metrics

This code is an example reference implementation for the Compute Engine Autoscaling Using Stackdriver Custom Metrics tutorial on the Google Cloud solutions site.

Components

  • writeToCustomMetric.js - a NodeJS app that uses the Google Cloud SDK client to write a custom monitoring metric
  • writeToCustomMetric.sh - a simple bash script to execute the writeToCustomMetric.js
  • startup.sh - a startup script used to install the necessary components (including the script and NodeJS app above) on each new Google Compute Engine VM

Installation

  1. Follow the detailed steps in the Compute Engine Autoscaling Using Stackdriver Custom Metrics tutorial to configure and deploy the code

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.3%
  • Shell 42.7%