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

Cloud: Fix stack wake-up function #1727

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

julienduchesne
Copy link
Member

Closes #1725

In #1545, the stack readiness check was improved by calling the /api/health endpoint instead of just the stack URL. While this does provide a better indication that the instance is up and running, the /api/health subpath does not trigger Grafana Cloud's stack wake-up

With this PR, we'll call both the stack's base URL and its health endpoint

@julienduchesne julienduchesne requested a review from a team July 29, 2024 14:00
@julienduchesne julienduchesne requested review from a team as code owners July 29, 2024 14:00
Copy link

In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically.
To do so, a Grafana Labs employee must trigger the cloud acceptance tests workflow manually.

Closes #1725

In #1545, the stack readiness check was improved by calling the `/api/health` endpoint instead of just the stack URL
While this does provide a better indication that the instance is up and running, the `/api/health` subpath does not trigger Grafana Cloud's stack wake-up
With this PR, we'll call both the stack's base URL and its health endpoint
@julienduchesne julienduchesne force-pushed the julienduchesne/wake-up-properly branch from 222c3f3 to 8e9661e Compare July 29, 2024 14:10
@julienduchesne
Copy link
Member Author

@julienduchesne julienduchesne merged commit 08a1309 into main Jul 31, 2024
27 checks passed
@julienduchesne julienduchesne deleted the julienduchesne/wake-up-properly branch July 31, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Wake-up Grafana instance
2 participants