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

[v15] Convert App heartbeats to use the inventory control stream #41626

Merged
merged 1 commit into from
May 21, 2024

Conversation

rosstimothy
Copy link
Contributor

@rosstimothy rosstimothy commented May 15, 2024

Backport #41164 to branch/v15

Changelog: Allow the application service to heartbeat on behalf of more than 1000 dynamic applications.

@rosstimothy rosstimothy marked this pull request as ready for review May 16, 2024 00:31
@github-actions github-actions bot requested review from fspmarshall and zmb3 May 16, 2024 00:31
@gravitational gravitational deleted a comment from github-actions bot May 16, 2024
@rosstimothy rosstimothy added this pull request to the merge queue May 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 21, 2024
Updates app server heartbeats to use srv.Heartbeatv2 in order to
leverage the inventory control stream instead of the legacy mechanism.
The new srv.heartbeatV2Driver implementation for app servers detects
the version of Auth and falls back appropriately if the Auth server
is too old to know about the new field added to the InventoryHeartbeat
message. The connected_resources metric should be accurate if the
auth and app service are on the same version or if the auth service
is on a more recent version. If the app service is newer than auth
and the new app server driver kicks into fall back mode then the
connected resource metric will not be updated.

Partially addresses #40917
@rosstimothy rosstimothy force-pushed the tross/backport-41164/v15 branch from b7012f9 to f2f505f Compare May 21, 2024 16:55
@rosstimothy rosstimothy enabled auto-merge May 21, 2024 16:55
@rosstimothy rosstimothy added this pull request to the merge queue May 21, 2024
Merged via the queue into branch/v15 with commit 4e6b0f3 May 21, 2024
33 checks passed
@rosstimothy rosstimothy deleted the tross/backport-41164/v15 branch May 21, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants