itb-nz logo
Story image

Amazon CloudWatch adds custom metrics support

01 Oct 2018

Amazon CloudWatch Agent now supports the ability to publish custom StatsD or collectd metrics to CloudWatch. 

Businesses can leverage these custom metrics to create alarms for triggering notifications and auto-scaling actions or save them to dashboards for quick viewing in CloudWatch. 

StatsD and collectd are popular, open-source solutions that gather system statistics for a wide variety of applications. CloudWatch Agent enables companies to publish and store custom StatsD and collectd metrics for up to 15 months in CloudWatch.

Businesses can also choose to publish these custom metrics to an account other than the resource account where the agent is collecting metrics, such as a central monitoring account.

They can get started with the CloudWatch agent by downloading directly from the AWS SSM console or via CLI from our S3 bucket for standalone installs. To learn more, please visit the CloudWatch agent user guide for StatsD and collectd. 

The CloudWatch agent is available in all AWS public regions, including AWS GovCloud. 

Collectd is a daemon which collects system and application performance metrics periodically and provides mechanisms to store the values in a variety of ways, for example in RRD files.

Collectd gathers metrics from various sources, for example, the operating system, applications, log files and external devices, and stores this information or makes it available over the network. 

Those statistics can be used to monitor systems, find performance bottlenecks (i.e. performance analysis) and predict future system load (i.e. capacity planning).

StatsD is a network daemon that runs on the Node.js platform and listens for statistics, like counters and timers, sent over UDP or TCP and sends aggregates to one or more pluggable backend services (e.g. Graphite).

StatsD was inspired by the project (of the same name) at Flickr.

StatsD Overview: 

1. Each stat is in its own "bucket". They are not predefined anywhere. Buckets can be named anything that will translate to Graphite.

2. Each stat will have a value. How it is interpreted depends on modifiers. In general, values should be an integer.

3. After the flush interval timeout (defined by config.flushInterval, default 10 seconds), stats are aggregated and sent to an upstream backend service.

Story image
Double digit growth expected for big data analytics market - report
"Despite the current crisis, BDA continues to be among the top three deployment priorities for enterprises, after data security and replacing legacy systems."More
Story image
Why DX is not complete without a transformed security architecture
Secure Access Services Edge (SASE) is the process by which core WAN edge capabilities like SD-WAN, routing, and WAN optimisation at branch locations are integrated with cloud-based security services like secure web gateways, firewall-as-a-service, cloud access security brokers, and more.More
Story image
Micro Focus launches solutions designed to aid modernisation
“Through new insight-driven tools, application program interface (API) development capabilities and robust deployment options, these Micro Focus solutions give developers new ways to work with complex COBOL and mainframe systems while delivering on a cloud strategy.”More
Story image
Fastly adds greater functionality to serverless computing solution
The new features bring customisable logging, real-time and historical metrics, and end to end request visibility to organisations to give developers greater transparency into what happens after code is deployed within a serverless architecture. More
Story image
Going back to work: Why we need to rethink enterprise ID cards
Australia and New Zealand are opening up again, and office workers are going back to their desks. Meanwhile, many companies still rely on outdated legacy card issuance systems, which offer little functionality or security assurances, and printing processes can be cumbersome.More
Story image
NZ financial firms bolster secure software development with Checkmarx
Two major financial institutions in New Zealand have refreshed their application security measures with the help of security specialist Checkmarx.More