Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Synthetics] GET /internal/synthetics/pings runs with a 30 days window by default #198443

Open
lucabelluccini opened this issue Oct 30, 2024 · 1 comment
Labels
Synthetics Team:obs-ux-management Observability Management User Experience Team

Comments

@lucabelluccini
Copy link
Contributor

Describe the enhancement:

It seems the monitor view page in Synthetics calls the API GET /internal/synthetics/pings to get the "recent" pings and it looks at moment().subtract(30, 'days') by default (here)

If old data lands on slow data tiers (e.g. frozen), it can take several seconds to run.
From the inspect, the query seems to run 2 times even if the body request is unchanged (few milliseconds of difference in the time range).

Image

Image

Describe a specific use case for the enhancement:

Whenever possible, attempt to avoid querying long time in the past and to it only once.

Users might use aggressive ILM policies which make data move to the frozen tier and queries might be slower than expected.

Maybe the graphs might offer a weekly window and offer to expand it further to monthly.

Side note: #190559 should help avoiding querying the frozen tier globally

@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 30, 2024
@wayneseymour wayneseymour added the Team:obs-ux-management Observability Management User Experience Team label Nov 4, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Synthetics Team:obs-ux-management Observability Management User Experience Team
Projects
None yet
Development

No branches or pull requests

3 participants