Skip to content

Commit

Permalink
Set relative date for host details link in onboarding flow (#205622)
Browse files Browse the repository at this point in the history
This change sets a relative date range to the host details link from the
auto-detect onboarding flow. This prevents a situation when host details
page would open saying there is no data and it would be stuck on a fixed
date range unable to load data even if user refreshes the page.

Somehow, even when onboarding flow can detect that the data was already
ingested, the host details page might not see it for some reason. This
requires a further investigation, but relative data range is a fix for
the time being.
  • Loading branch information
mykolaharmash authored Jan 7, 2025
1 parent b3c915e commit 212b192
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,12 @@ export const AutoDetectPanel: FunctionComponent = () => {
href: assetDetailsLocator.getRedirectUrl({
assetType: 'host',
assetId: integration.metadata?.hostname,
assetDetails: {
dateRange: {
from: 'now-15m',
to: 'now',
},
},
}),
},
]
Expand Down

0 comments on commit 212b192

Please sign in to comment.