mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-15 09:31:36 +08:00

* fix: sorting logic is updated * fix: made a util for error rate * chore: updated the function name
5 lines
164 B
TypeScript
5 lines
164 B
TypeScript
import { TopOperationList } from './TopOperationsTable';
|
|
|
|
export const getErrorRate = (list: TopOperationList): number =>
|
|
(list.errorCount / list.numCalls) * 100;
|