This commit is contained in:
zhang-wei 2020-09-23 23:25:30 +08:00 committed by GitHub
parent fa62c637c2
commit 5b5a122b2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -120,12 +120,6 @@ endpoint_percentile = from(Endpoint.latency).percentile(10)
// Caculate the percent of response status is true, for each service.
endpoint_success = from(Endpoint.*).filter(status == true).percent()
// Caculate the percent of response code in [200, 299], for each service.
endpoint_200 = from(Endpoint.*).filter(responseCode like "2%").percent()
// Caculate the percent of response code in [500, 599], for each service.
endpoint_500 = from(Endpoint.*).filter(responseCode like "5%").percent()
// Caculate the sum of response code in [404, 500, 503], for each service.
endpoint_abnormal = from(Endpoint.*).filter(responseCode in [404, 500, 503]).sum()