updates label of graph

This commit is contained in:
dhrubesh 2021-05-01 19:18:18 +05:30
parent ec52ad7636
commit f412573972
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ const _ServiceMetrics = (props: ServicesMetricsProps) => {
<Col span={12}>
<Card bodyStyle={{ padding: 10 }}>
<ExternalApiGraph
title="External Call RPS(by Address)"
title=" External Call Error Rate"
keyIdentifier="externalHttpUrl"
dataIdentifier="numCalls"
data={props.externalErrCodeMetrics}

View File

@ -166,7 +166,7 @@ export const getExternalErrCodeMetrics = (
const response = await api.get<externalErrCodeMetricsItem[]>(
apiV1 + request_string,
);
console.log("Re", response);
dispatch<externalErrCodeMetricsActions>({
type: ActionTypes.getErrCodeMetrics,
payload: response.data,