Throughput in addition to RPS #730
michaelplavnik
started this conversation in
Ideas
Replies: 3 comments 3 replies
-
I guess maybe this dimension of Throughput could be modeled as custom metric? For example, inside the step execution, you could just use some interface that allows you to record additional metrics: success | duplication |
Beta Was this translation helpful? Give feedback.
0 replies
-
Do you have example of a custom metric ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
no, but It could look like var step1 = await Step.Run("login", context, async () =>
{
context.Metric.Counter.Increment("success");
context.Metric.Counter.Increment("success", 10);
context.Metric.Counter.Decrement("success");
return Response.Ok();
}); |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In older enterprise integration scenarios, request might contains a batch/bulk of transaction items. As a result of the operation items can be marked with completion status.
The idea is to support a separate stat for Throughput. Step can report on success, duplication, or error of transactions as counters. Scenario stats will then contain both total of counters and throughput per status.
Beta Was this translation helpful? Give feedback.
All reactions