-
Notifications
You must be signed in to change notification settings - Fork 20
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
chore: wrap momento metrics json in momento
object for cloudwatch metric filters
#998
Conversation
…or cloudwatch metric filters
* The ID of the specific connection that made the request | ||
*/ | ||
connectionID: string; | ||
MomentoMetricsMiddleware: { |
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.
not a strong opinion but I think momento. numActiveRequestsAtStart
or momento.duration
will be a cleaner UX than MomentoMetricsMiddleware.duration
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.
I like that better too, updated
momento
object for cloudwatch metric filters
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.
Thanks for doing this! we might wanna file a ticket to capture that we should make the same update in .NET. |
good call, the .NET update seems to be simpler |
So that #970 can incorporate MomentoMetricsMiddleware into the metric filters (e.g.
{$.MomentoMetricsMiddleware.status >= 0}
) to avoid clashing with other metrics customers may stream to a log group.