Skip to content

fix: add health check to exporting logs documentation #1828

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions monitoring/exporting-logs.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,17 @@ You can configure as many providers as you'd like by adding more secrets. The se
Before launching your application, you should edit the generated `fly.toml` file and delete the entire `[[services]]` section. Replace it with this:

```toml
[[services]]
http_checks = []
[http_service]
internal_port = 8686
auto_start_machines = true
auto_stop_machines = "off"

[[http_service.checks]]
grace_period = "10s"
interval = "30s"
method = "GET"
path = "/health"
timeout = "5s"
```

Then you can deploy it:
Expand Down