View Source AntikytheraCore.Metrics.AggregateStrategy.RequestCount (antikythera v0.5.1)

Aggregate strategy for request counts. This calculates the following values from HTTP status codes of responses within a time window:

  • total number of requests
  • number of requests that result in 4XX response (client error)
  • number of requests that result in 5XX response (server error)

Note that, strictly speaking, numbers generated by this aggreagate strategy do not include invalid requests that are rejected by antikythera before arriving at gear's controller action, i.e. requests which do not match any of the defined routes, requests with malformed body, etc.