New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

io-bluemix-autoscaling-agent

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io-bluemix-autoscaling-agent

Node.js Auto-Scaling Agent for Bluemix

  • 1.0.7
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Bluemix Auto-Scaling provides dynamic scale in/out capability for all Bluemix runtimes. To support the scaling for node.js runtime, you need to inject an "Node.js Auto-Scaling Agent for Bluemix"("bluemix-autoscaling-agent") module into target applications. The new module works as Bluemix Auto-Scaling agent ("client") , and must cooperate with the Bluemix auto-scaling service ("server") to complete the scaling capabilities. The "server" side is not an open source project, and only running on IBM Bluemix platform.

See https://new-console.ng.bluemix.net/docs/services/Auto-Scaling/index.html for more details.

This package includes the Node Application Metrics monitoring and profiling agent, which is automatically downloaded as the module is installed on your system/device. The Node Application Metrics monitoring and profiling agent is released under a proprietary IBM licence. The license agreement for Node Application Metrics monitoring and profiling agent is available in the following location: node_modules/appmetrics/licenses. Your use of the components of the package and dependencies constitutes your acceptance of this license agreement. If you do not accept the terms of the license agreement(s), delete the relevant component(s) immediately from your device.

Getting Started

Installation

  • Update the package.json file and create a dependency entry for bluemix-autoscaling-agent such as "bluemix-autoscaling-agent": "*".

  • Before pushing your Node.js application, update your main file to add the agent declaration var as_agent = require('bluemix-autoscaling-agent'); The following code snippet shows a complete entry js file with the auto-scaling agent declaration.

var agent = require('bluemix-autoscaling-agent');
var http = require('http');
var server = http.createServer(function handler(req, res) {
 console.log("Hello!");

 }).listen(process.env.PORT || 3000);
console.log('App is listening on port 3000');

Version

1.0.7

Release History

  • 1.0.7 - Self-signed https certificate support;Use appmetrics v1.1.2 for v2.0.0 does not work.
  • 1.0.6 - Update the document.
  • 1.0.5 - Refactor the code.
  • 1.0.4 - Fix a json parse error.
  • 1.0.3 - Update to appmetrics v 1.0.13.
  • 1.0.2 - Server-side controlled report and configuration.
  • 1.0.1 - Document update.
  • 1.0.0 - First release.

Keywords

FAQs

Package last updated on 01 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc