Skip to content

Commit

Permalink
[Uptime] Use rounded values for es query (#191514)
Browse files Browse the repository at this point in the history
## Summary

Use rounded values for es query !!
  • Loading branch information
shahzad31 committed Aug 28, 2024
1 parent b3a56f7 commit 3aa745f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ function setUptimeAppStatus(
} else {
const hasUptimePrivileges = coreStart.application.capabilities.uptime?.show;
if (hasUptimePrivileges) {
const indexStatusPromise = UptimeDataHelper(coreStart).indexStatus('now-7d', 'now');
const indexStatusPromise = UptimeDataHelper(coreStart).indexStatus('now-7d/d', 'now/d');
indexStatusPromise.then((indexStatus) => {
if (indexStatus.indexExists) {
registerUptimeRoutesWithNavigation(coreStart, pluginsStart);
Expand Down

0 comments on commit 3aa745f

Please sign in to comment.