-
Notifications
You must be signed in to change notification settings - Fork 153
fix(metrics): use same naming for serviceName #401
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
899207a
to
7ab2cf4
Compare
7ab2cf4
to
60ca3a4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also update the doc? (in a separate PR so we can start testing)
@@ -59,7 +59,7 @@ | |||
"@typescript-eslint/parser": "^5.4.0", | |||
"aws-cdk": "^1.137.0", | |||
"aws-sdk": "^2.1048.0", | |||
"esbuild": "^0.14.5", | |||
"esbuild": "0.14.5", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(minor) Any particular reason to not auto update this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, upper version are breaking import of enum . I am creating a simple project to reproduce the issue and create one on esbuild repo , probably v0.14.7 https://github.com/evanw/esbuild/releases
9a8e082
to
8220f34
Compare
* chore(test): test * docs(metrics): remove serializeMetrics and fix cloudwatch excerpt * fix: tracer construct initializer * Conformed tracer & logger * Added changes from #376 * Added lambdaInterface to logger examples * docs: update docs/core/logger.md Co-authored-by: Sara Gerion <[email protected]> * docs: updated return type for all async handlers * docs: update docs/core/metrics.md Co-authored-by: Sara Gerion <[email protected]> * docs: update docs/core/metrics.md Co-authored-by: Sara Gerion <[email protected]> * docs: update docs/core/metrics.md Co-authored-by: Sara Gerion <[email protected]> * docs: updated all references to publishStoredMetrics * docs: replaced extends w/ implements keyword in classes * docs: switched to serviceName according to #401 * docs: switched to serviceName according to #401 * docs: update docs/core/tracer.md Co-authored-by: Florian Chazal <[email protected]> * docs: update docs/core/metrics.md Co-authored-by: Florian Chazal <[email protected]> * docs: update docs/core/tracer.md Co-authored-by: Florian Chazal <[email protected]> * docs: update docs/core/logger.md Co-authored-by: Florian Chazal <[email protected]> * docs: update note on patching all modules * docs: updated text in captureMethod section * docs: update docs/core/metrics.md Co-authored-by: ijemmy <[email protected]> * docs: update docs/core/metrics.md Co-authored-by: ijemmy <[email protected]> * docs: updated other references to serverlessAirline Co-authored-by: Florian CHAZAL <[email protected]> Co-authored-by: Sara Gerion <[email protected]> Co-authored-by: ijemmy <[email protected]>
Description of your changes
Other modules use
serviceName
as key while metrics was usingservice
. this PR homogenise that.Before:
After:
We are not changing the resulting
service
dimension to stay in sync with python PT to make sure people can mix python and typescript functions and get same dimensions.Regarding doc waiting for #387 to be merge or that one to be merge to update #387
How to verify this change
Related issues, RFCs
PR status
Is this ready for review?: YES
Is it a breaking change?: NO
Checklist
Breaking change checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.