1.1.1 • Published 6 years ago

green-watch v1.1.1

Weekly downloads
15
License
MIT
Repository
github
Last release
6 years ago

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.

MethodResourceReturn code(s)Payload requiredDescription
POST/metrics200YesThe green-watch application is able to sync the given metrics with AWS Cloudwatch upon their reception on this route.
GET/metrics200NoThis route returns the last buffered metrics currently in memory.

See also

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago