Skip to content

feat(metrics): add unit None for CloudWatch EMF Metrics - #2904

Merged
dreamorosi merged 2 commits into
mainfrom
powertools-lambda-typescript-2903
Aug 8, 2024
Merged

feat(metrics): add unit None for CloudWatch EMF Metrics#2904
dreamorosi merged 2 commits into
mainfrom
powertools-lambda-typescript-2903

Conversation

@am29d

@am29d am29d commented Aug 8, 2024

Copy link
Copy Markdown
Contributor

Summary

This PR adds metrics unit "NoUnit". The name is copied from the Python implementation to have consistency, and unfortunately, it was not possible to pick "None" as key because in Python.

I'd suggest to stick with the same name, despite the option for TypeScript to pick a different name.

Changes

Please provide a summary of what's being changed

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: closes #2903


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@am29d
am29d requested a review from a team August 8, 2024 09:32
@am29d
am29d requested a review from a team as a code owner August 8, 2024 09:32
@boring-cyborg boring-cyborg Bot added the metrics This item relates to the Metrics Utility label Aug 8, 2024
@pull-request-size pull-request-size Bot added the size/XS PR between 0-9 LOC label Aug 8, 2024
@dreamorosi dreamorosi changed the title feat(metrics) add unit None for CloudWatch EMF Metrics feat(metrics): add unit None for CloudWatch EMF Metrics Aug 8, 2024
@github-actions github-actions Bot added the feature PRs that introduce new features or minor changes label Aug 8, 2024
@dreamorosi dreamorosi self-assigned this Aug 8, 2024
@sonarqubecloud

sonarqubecloud Bot commented Aug 8, 2024

Copy link
Copy Markdown

@dreamorosi
dreamorosi merged commit fa27cba into main Aug 8, 2024
@dreamorosi
dreamorosi deleted the powertools-lambda-typescript-2903 branch August 8, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature PRs that introduce new features or minor changes metrics This item relates to the Metrics Utility size/XS PR between 0-9 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: support metrics with unit "None"

2 participants