-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Improve metrics in mocked-backend for metrics service (#2274)
* Emit one metric event at a time Signed-off-by: Carson Cook <[email protected]> * Convert metrics to json with values Signed-off-by: Carson Cook <[email protected]>
- Loading branch information
1 parent
d888a11
commit f12ebe8
Showing
3 changed files
with
71 additions
and
24 deletions.
There are no files selected for viewing
69 changes: 69 additions & 0 deletions
69
metrics-service-ui/frontend/mocked-backend/assets/services/metrics.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"rollingCountFallbackSuccess": 10, | ||
"rollingCountFallbackFailure": 1, | ||
"propertyValue_circuitBreakerRequestVolumeThreshold": 20, | ||
"propertyValue_circuitBreakerForceOpen": false, | ||
"propertyValue_metricsRollingStatisticalWindowInMilliseconds": 10000, | ||
"latencyTotal_mean": 10, | ||
"rollingMaxConcurrentExecutionCount": 2, | ||
"type": "HystrixCommand", | ||
"rollingCountResponsesFromCache": 2, | ||
"rollingCountBadRequests": 1, | ||
"rollingCountTimeout": 1, | ||
"propertyValue_executionIsolationStrategy": "SEMAPHORE", | ||
"rollingCountFailure": 1, | ||
"rollingCountExceptionsThrown": 1, | ||
"rollingCountFallbackMissing": 1, | ||
"threadPool": "NotFoundErrorController", | ||
"latencyExecute_mean": 1, | ||
"isCircuitBreakerOpen": false, | ||
"errorCount": 0, | ||
"rollingCountSemaphoreRejected": 1, | ||
"group": "NotFoundErrorController", | ||
"latencyTotal": { | ||
"0": 1, | ||
"99": 2, | ||
"100": 3, | ||
"25": 4, | ||
"90": 5, | ||
"50": 6, | ||
"95": 7, | ||
"99.5": 8, | ||
"75": 9 | ||
}, | ||
"requestCount": 10, | ||
"rollingCountCollapsedRequests": 15, | ||
"rollingCountShortCircuited": 1, | ||
"propertyValue_circuitBreakerSleepWindowInMilliseconds": 5000, | ||
"latencyExecute": { | ||
"0": 1, | ||
"99": 2, | ||
"100": 3, | ||
"25": 4, | ||
"90": 5, | ||
"50": 6, | ||
"95": 7, | ||
"99.5": 8, | ||
"75": 9 | ||
}, | ||
"rollingCountEmit": 10, | ||
"currentConcurrentExecutionCount": 15, | ||
"propertyValue_executionIsolationSemaphoreMaxConcurrentRequests": 1000, | ||
"errorPercentage": 1, | ||
"rollingCountThreadPoolRejected": 1, | ||
"propertyValue_circuitBreakerEnabled": false, | ||
"propertyValue_executionIsolationThreadInterruptOnTimeout": true, | ||
"propertyValue_requestCacheEnabled": true, | ||
"rollingCountFallbackRejection": 1, | ||
"propertyValue_requestLogEnabled": true, | ||
"rollingCountFallbackEmit": 1, | ||
"rollingCountSuccess": 10, | ||
"propertyValue_fallbackIsolationSemaphoreMaxConcurrentRequests": 10, | ||
"propertyValue_circuitBreakerErrorThresholdPercentage": 50, | ||
"propertyValue_circuitBreakerForceClosed": false, | ||
"name": "SampleServiceExample", | ||
"reportingHosts": 1, | ||
"propertyValue_executionIsolationThreadPoolKeyOverride": "null", | ||
"propertyValue_executionIsolationThreadTimeoutInMilliseconds": 30000, | ||
"propertyValue_executionTimeoutInMilliseconds": 30000 | ||
} |
21 changes: 0 additions & 21 deletions
21
metrics-service-ui/frontend/mocked-backend/assets/services/metrics.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters