Skip to content

Conversation

@wjordan
Copy link
Contributor

@wjordan wjordan commented Jul 29, 2025

Change Summary

What and Why:

This PR changes fly logs to fetch recent log lines directly from a new Machines API (flaps) endpoint instead of through calls to the centralized app-logs service. This should help reduce latency (both query and ingestion latency, so recent logs will show up quicker), and improve the overall reliability of fly logs command (since it doesn't depend on the availability of a centralized log service.

How:

Replaces the flyutil.Client call to GetAppLogs() with a flapsutil.flapsClient call to GetLogs() in the (non-nats) poll implementation of the log streaming interface.

Related to:


Documentation

  • Fresh Produce

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.

1 participant