-
Notifications
You must be signed in to change notification settings - Fork 403
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
fix: metrics default dimension creation #74
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ed instead of on metrics constructor
Codecov Report
@@ Coverage Diff @@
## develop #74 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 16 16
Lines 516 516
Branches 49 49
=========================================
Hits 516 516
Continue to review full report at Codecov.
|
LGTM
…On Wed, 10 Jun 2020 at 12:38, Tom McCarthy ***@***.***> wrote:
*Issue #, if available:*
Description of changes:
One or two sentences as a summary of what's being changed
- Meet tenets criteria
<https://awslabs.github.io/aws-lambda-powertools-python/#tenets>
- Update tests
- Update docs
- PR title follows conventional commit semantics
<https://github.com/awslabs/aws-lambda-powertools-python/blob/376ec0a2ac0d2a40e0af5717bef42ff84ca0d1b9/.github/semantic.yml#L2>
Breaking change checklist
Ignore if it's not a breaking change
*RFC issue #*:
- Migration process documented
- Implement warnings (if it can live side by side)
By submitting this pull request, I confirm that you can use, modify, copy,
and redistribute this contribution, under the terms of your choice.
------------------------------
You can view, comment on, or merge this pull request online at:
#74
Commit Summary
- fix: default dimension creation now happens when metrics are
serialized instead of on metrics constructor
File Changes
- *M* aws_lambda_powertools/metrics/base.py
<https://github.com/awslabs/aws-lambda-powertools-python/pull/74/files#diff-811bacb402fae635652756e85d46e613>
(10)
- *M* aws_lambda_powertools/metrics/metrics.py
<https://github.com/awslabs/aws-lambda-powertools-python/pull/74/files#diff-01510088a6194e2e32e49f3edb59d7e1>
(9)
- *M* tests/functional/test_metrics.py
<https://github.com/awslabs/aws-lambda-powertools-python/pull/74/files#diff-bc44daa0de5496df091f72df3ebcdc43>
(57)
Patch Links:
- https://github.com/awslabs/aws-lambda-powertools-python/pull/74.patch
- https://github.com/awslabs/aws-lambda-powertools-python/pull/74.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#74>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZPQBC2FXQDL25ZPXYHB6TRV5WFBANCNFSM4N2JPZVQ>
.
|
to-mc
pushed a commit
that referenced
this pull request
Jun 10, 2020
…ed instead of on metrics constructor (#74)
heitorlessa
referenced
this pull request
in heitorlessa/aws-lambda-powertools-python
Jun 17, 2020
…ed instead of on metrics constructor (#74)
heitorlessa
referenced
this pull request
in heitorlessa/aws-lambda-powertools-python
Jun 17, 2020
…ed instead of on metrics constructor (#74)
heitorlessa
referenced
this pull request
in heitorlessa/aws-lambda-powertools-python
Jun 17, 2020
…tools-python into develop * 'develop' of https://github.com/awslabs/aws-lambda-powertools-python: (104 commits) feat: add metrics metadata (#81) chore: cleanup tests (#79) chore: remove deprecated code before GA (#78) docs: customize contributing guide (#77) chore: move blockquotes as hidden comments chore: update CHANGELOG chore: bump version to 0.11.0 (#76) chore: version bump 0.10.1 fix: default dimension creation now happens when metrics are serialized instead of on metrics constructor (#74) fix: default dimension creation now happens when metrics are serialized instead of on metrics constructor (#74) docs: fix contrast on highlighted code text (#73) feat: improve error handling for log_metrics decorator (#71) chore(deps): bump graphql-playground-html from 1.6.19 to 1.6.25 in /docs feat: add high level imports (#70) fix: correct env var name for publish to pypi test (#69) chore: version bump (#68) feat: add capture_cold_start_metric for log_metrics (#67) chore(deps): bump websocket-extensions from 0.1.3 to 0.1.4 in /docs (#66) feat: automate publishing to pypi (#58) feat: add pre-commit hooks (#64) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #, if available: #75
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.