mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-11 13:49:02 +08:00
fixes error percentage key
This commit is contained in:
parent
25803e660c
commit
63f0eadb61
@ -115,7 +115,7 @@ const _ServiceMetrics = (props: ServicesMetricsProps) => {
|
||||
<ExternalApiGraph
|
||||
title="External Call Error Percentage (%)"
|
||||
keyIdentifier="externalHttpUrl"
|
||||
dataIdentifier="numCalls"
|
||||
dataIdentifier="errorRate"
|
||||
data={props.externalErrCodeMetrics}
|
||||
/>
|
||||
</Card>
|
||||
|
@ -33,9 +33,9 @@ export interface externalMetricsAvgDurationItem {
|
||||
}
|
||||
|
||||
export interface externalErrCodeMetricsItem {
|
||||
callRate: number;
|
||||
errorRate: number;
|
||||
externalHttpUrl: string;
|
||||
numCalls: number;
|
||||
numErrors: number;
|
||||
timestamp: number;
|
||||
}
|
||||
export interface topEndpointListItem {
|
||||
@ -131,7 +131,9 @@ export const getDbOverViewMetrics = (
|
||||
"&end=" +
|
||||
globalTime.maxTime +
|
||||
"&step=60";
|
||||
const response = await api.get<dbOverviewMetricsItem[]>(apiV1 + request_string);
|
||||
const response = await api.get<dbOverviewMetricsItem[]>(
|
||||
apiV1 + request_string,
|
||||
);
|
||||
dispatch<getDbOverViewMetricsAction>({
|
||||
type: ActionTypes.getDbOverviewMetrics,
|
||||
payload: response.data,
|
||||
|
Loading…
x
Reference in New Issue
Block a user