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

Deprecate ambiguous svids_count field in Agent GetDebug API #66

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
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
92 changes: 67 additions & 25 deletions proto/spire/api/agent/debug/v1/debug.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion proto/spire/api/agent/debug/v1/debug.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@ message GetInfoResponse {
// Agent uptime in seconds
int32 uptime = 2;
// Number of SVIDs cached in memory
int32 svids_count = 3;
// Deprecated in favor of cached_x509_svids_count, cached_jwt_svids_count, and cached_svidstore_x509_svids_count
int32 svids_count = 3 [deprecated=true];
// last successful sync with server (in seconds since unix epoch)
int64 last_sync_success = 4;
// Number of X.509-SVIDs in Agent primary in-memory cache
int32 cached_x509_svids_count = 5;
// Number of JWT-SVIDs in Agent primary in-memory cache
int32 cached_jwt_svids_count = 6;
// Number of X.509-SVIDs in Agent svidstore in-memory cache
int32 cached_svidstore_x509_svids_count = 7;
}
Loading