Skip to content

Conversation

shashimal
Copy link
Contributor

@shashimal shashimal commented Dec 21, 2022

Description

Specify a unit of measure for a metric when creating a metric filter. (ex: Count, Seconds etc)

Motivation and Context

While I was working on a metric filter, I noticed that "unit" option was currently not available in the metric_transformation section. Sometimes we may want to specify a unit of measure for the metric. Units help provide conceptual meaning to the data. So just thought to create this PR in case it might be useful in future.

Breaking Changes

None, added variable has a default value for backward compatibility.

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@antonbabenko antonbabenko merged commit 5116f50 into terraform-aws-modules:master Jan 3, 2023
antonbabenko pushed a commit that referenced this pull request Jan 3, 2023
## [4.2.0](v4.1.0...v4.2.0) (2023-01-03)

### Features

* Add option to specify metric transformation unit ([#49](#49)) ([5116f50](5116f50))
@antonbabenko
Copy link
Member

This PR is included in version 4.2.0 🎉

@github-actions
Copy link

github-actions bot commented Feb 3, 2023

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants