-
Notifications
You must be signed in to change notification settings - Fork 207
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
ENH: add metrics into HTTP source #380
ENH: add metrics into HTTP source #380
Conversation
Signed-off-by: qchea <[email protected]>
Signed-off-by: qchea <[email protected]>
Signed-off-by: qchea <[email protected]>
Signed-off-by: qchea <[email protected]>
...p-source/src/test/java/com/amazon/dataprepper/plugins/source/loghttp/LogHTTPServiceTest.java
Show resolved
Hide resolved
- `requestProcessDuration`: measures latency of requests processed by the HTTP source plugin. | ||
|
||
### Summary | ||
- `payloadSummary`: measures the distribution of incoming requests payload sizes. |
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.
What is the unit here?
I am concerned we are coupling the underlying metrics framework with the current name. I was confused by a payloadSummary. Why not call it payloadSize? I think that is more intuitive to our users.
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.
Sure. I can change it to payloadSize and specify the unit is in bytes
- `requestTimeouts`: measures total number of requests that time out in the HTTP source server. | ||
|
||
### Timer | ||
- `requestProcessDuration`: measures latency of requests processed by the HTTP source plugin. |
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.
Let's add the unit for this metric.
Signed-off-by: qchea <[email protected]>
Signed-off-by: qchea <[email protected]>
Description
This PR
Issues Resolved
#374
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.