Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for high-resolution metrics in EMF #48

Merged
merged 11 commits into from
Jan 23, 2023

Conversation

rayabagi
Copy link
Contributor

@rayabagi rayabagi commented Dec 23, 2022

Description of changes:

Added support for High Resolution Metrics. Customers can specify an optional property - storageResolution of the metrics in putMetric() call. If resolution is not specified, metrics will be emitted with standard resolution.

Covered Unit Test methods.

Updated README.md and examples folder.

Updated the canary. See the image below for Memory.VirtualMemorySize64 Memory usage. (Note: We will have to wait until the feature is enabled to get metrics in high resolution for the canary)

Screen Shot 2023-01-09 at 2 40 45 PM

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

@rayabagi rayabagi marked this pull request as ready for review January 9, 2023 22:52
@meshwa19 meshwa19 self-requested a review January 13, 2023 17:16
@markkuhn
Copy link
Contributor

nit: run dotnet format

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
examples/Amazon.CloudWatch.EMF.Examples.Lambda/Function.cs Outdated Show resolved Hide resolved
src/Amazon.CloudWatch.EMF/Model/MetricsContext.cs Outdated Show resolved Hide resolved
src/Amazon.CloudWatch.EMF/Model/MetricsContext.cs Outdated Show resolved Hide resolved
src/Amazon.CloudWatch.EMF/Model/MetricsContext.cs Outdated Show resolved Hide resolved
src/Amazon.CloudWatch.EMF/Utils/Validator.cs Outdated Show resolved Hide resolved
@markkuhn markkuhn added the enhancement New feature or request label Jan 13, 2023
@rayabagi
Copy link
Contributor Author

nit: run dotnet format

editor config is not required here. Rule are automatically defined as per the its standards and taken care during the build time. Ref.
As per the warnings generated from the build, I have fixed the constants.

README.md Outdated Show resolved Hide resolved
Co-authored-by: Mark Kuhn <kuhn.mark@outlook.com>
Co-authored-by: Mark Kuhn <kuhn.mark@outlook.com>
Copy link
Contributor

@markkuhn markkuhn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants