awslabs / awslabs/aws-embedded-metrics-node

putMetric to support addition of custom metrics in CloudWatch

Open
#98 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
263
Forks
39
PR merge metrics
No merged PRs in 30d

Description

I have a use case where I want to enable high resolution metrics in CloudWatch. This is done via setting the 'StorageResolution' parameter in put-metric-data API to a value from 1 to 60. Currently putMetric only has these parameters (metricName, value, unit) and support for publishing custom metrics is missing.

Links - [Publishing Custom Metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html), [put-metric-data api ](https://docs.aws.amazon.com/cli/latest/reference/cloudwatch/put-metric-data.html)

Contributor guide

Open the contributing guide

Research direction

Start at the putMetric entry point and compare its current metricName, value, and unit parameters with the linked CloudWatch put-metric-data API documentation. Determine how custom metrics and the StorageResolution value from 1 to 60 should be represented, then verify that the resulting metrics can be published through the existing client flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, observability-sre
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.