mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-02 23:31:08 +08:00
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