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

[v11] Improve trusted cluster observability #18609

Merged
merged 5 commits into from
Nov 18, 2022

Conversation

rosstimothy
Copy link
Contributor

Backport #18484 to branch/v11

rosstimothy and others added 5 commits November 18, 2022 20:12
Moves `UpdateTrustedCluster` logging from debug to info so default
logging level includes when admin operations are performed to
establish or remove trust. Alters `remoteSite` such that it logs
in the same manner as `localSite`

Cherry-picks some of the availability changes made in #18050 to
ensure that agents spawned for trusted clusters are more robust to
connection issues.
The metric wasn't properly updated when remote sites went offline
of when remote cluster resources were removed. Any change to the
remoteSite state or the remoteCluster resource are now accurately
reflected in the metric.
The metric `trust_clusters` existed and was exported, but was never
used anywhere. Now when the `RemoteClusterTunnelManager` starts
and stops agent pools it will create and delete a counter for the
cluster. Within the `AgentPool` the metric is set to the number
of connected proxies within `updateConnectedProxies`.
Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
@rosstimothy rosstimothy marked this pull request as ready for review November 18, 2022 20:51
@zmb3 zmb3 enabled auto-merge (squash) November 18, 2022 23:06
@github-actions github-actions bot removed the request for review from xacrimon November 18, 2022 23:06
@zmb3 zmb3 merged commit 5a36df1 into branch/v11 Nov 18, 2022
@github-actions github-actions bot deleted the bot/backport-18484-branch/v11 branch November 18, 2022 23:07
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.

4 participants