green-watch

1.1.1 • Public • Published

green-watch

A cloudwatch agent at the edge for AWS Greengrass.

Green application CodeFactor

Current version: 1.1.1

Lead Maintainer: Halim Qarroum

Table of contents

Install

green add npm://green-watch

Features

  • Synchronization of metrics between the edge with AWS Cloudwatch on the cloud.
  • Works offline, and syncs the metrics to Cloudwatch when Internet connectivity is available.
  • Natively accepts the same payload data as AWS Cloudwatch at the edge.

Description

The local Cloudwatch agent for AWS Greengrass is built to receive metrics from third party applications over Expressify in the Cloudwatch native format. Upon reception of these metrics, they will be synced with AWS Cloudwatch on the cloud.

If no Internet connectivity is available, green-watch will buffer the data in memory until the Internet connectvity is available again.

API

This application exposes an Expressify API which is accessible from any green application locally, but also from the AWS IoT Core service from the cloud remotely. The available API endpoints are documented and described below.

Method Resource Return code(s) Payload required Description
POST /metrics 200 Yes The green-watch application is able to sync the given metrics with AWS Cloudwatch upon their reception on this route.
GET /metrics 200 No This route returns the last buffered metrics currently in memory.

See also

Package Sidebar

Install

npm i green-watch

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

43.9 kB

Total Files

7

Last publish

Collaborators

  • hqm