Merge pull request #2330 from bluewave-labs/feature/2299-add-ping-monitoring-to-status-pages
Add ping monitoring to status pages (#2299)
This commit is contained in:
1 file changed
+1
-1
@@ -15,7 +15,7 @@ const useMonitorsFetch = () => {
|
|||||||
const response = await networkService.getMonitorsByTeamId({
|
const response = await networkService.getMonitorsByTeamId({
|
||||||
teamId: user.teamId,
|
teamId: user.teamId,
|
||||||
limit: null, // donot return any checks for the monitors
|
limit: null, // donot return any checks for the monitors
|
||||||
types: ["http"], // status page is available only for the uptime type
|
types: ["http", "ping"], // status page is available for uptime and ping monitors
|
||||||
});
|
});
|
||||||
setMonitors(response.data.data.monitors);
|
setMonitors(response.data.data.monitors);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in new issue
Block a user