package
2.0.4+incompatible
Repository: https://github.com/mintel/elasticsearch-asg.git
Documentation: pkg.go.dev

# README

cloudwatcher

Docker Cloud Build Status

Cloudwatcher pushes metrics about an Elasticsearch cluster to AWS CloudWatch, mainly to run AWS Autoscaling Groups. The metrics include:

  • File system utilization (data nodes only)
  • JVM heap utilization (both in total, and per-memory pool)
  • JVM garbage collection stats

The metrics are both in total, and broken out by node role (master, data, etc...).

Usage

usage: cloudwatcher [<flags>] [<url>]

Push Elasticsearch metrics to AWS CloudWatch to run AWS Autoscaling
Groups.

Flags:
      --help           Show context-sensitive help (also try --help-long
                       and --help-man).
  -v, --verbose        Show debug logging.
      --interval=1m    Time between pushing metrics.
      --region=REGION  AWS Region.
      --namespace="Elasticsearch"
                       AWS CloudWatch metrics namespace.

Args:
  [<url>]  Elasticsearch URL. Default: http://localhost:9200

# Packages

No description provided by the author

# Functions

GetInstanceVCPUCount gets the count of vCPUs for each EC2 instance in a list of instance IDs.
LogDatum logs a CloudWatch data point at debug level.
MakeCloudwatchData returns a list of CloudWatch metric data points related to an Elasticsearch cluster.