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

High Resolution Metrics Support #142

Merged
merged 16 commits into from
Jan 23, 2023

Conversation

meshwa19
Copy link
Contributor

@meshwa19 meshwa19 commented Jan 3, 2023

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.
  • Added UTs and modified integration tests for the changes.
  • Updated README.md and examples folder.

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

src/logger/MetricsContext.ts Show resolved Hide resolved
src/logger/__tests__/MetricsContext.test.ts Outdated Show resolved Hide resolved
examples/lambda/src/index.js Outdated Show resolved Hide resolved
Copy link

@rayabagi rayabagi left a comment

Choose a reason for hiding this comment

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

Finished with the review.

@markkuhn markkuhn added the enhancement New feature or request label Jan 13, 2023
@markkuhn
Copy link
Contributor

markkuhn commented Jan 13, 2023

Should we add information about StorageResolution in the README? Maybe the 2 types of resolution and a link to the relevant wiki?

@markkuhn
Copy link
Contributor

nit: run prettier formatting on all your changes

src/logger/MetricsContext.ts Outdated Show resolved Hide resolved
src/utils/Validator.ts Show resolved Hide resolved
src/logger/__tests__/MetricsContext.test.ts Outdated Show resolved Hide resolved
src/serializers/LogSerializer.ts Outdated Show resolved Hide resolved
src/utils/Validator.ts Outdated Show resolved Hide resolved
test/integ/agent/end-to-end.integ.ts Outdated Show resolved Hide resolved
@meshwa19
Copy link
Contributor Author

nit: run prettier formatting on all your changes

Done!

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.

🚀

@meshwa19 meshwa19 merged commit c00790b into awslabs:master Jan 23, 2023
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.

3 participants