-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use last 1day data for apdex latency metric meta (#4846)
- Loading branch information
1 parent
57bfded
commit a9464de
Showing
21 changed files
with
54 additions
and
1,633 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import axios from 'api'; | ||
import { ApiV4Instance } from 'api'; | ||
import { AxiosResponse } from 'axios'; | ||
import { MetricMetaProps } from 'types/api/metrics/getApDex'; | ||
|
||
export const getMetricMeta = ( | ||
metricName: string, | ||
servicename: string, | ||
): Promise<AxiosResponse<MetricMetaProps>> => | ||
axios.get(`/metric_meta?metricName=${metricName}&serviceName=${servicename}`); | ||
ApiV4Instance.get( | ||
`/metric/metric_metadata?metricName=${metricName}&serviceName=${servicename}`, | ||
); |
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
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
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
Oops, something went wrong.