metrics: fix an apparent metric setup error (#5543)

The IdentityManagerLastSessionRefreshErrorView appears to be a duplicate
of IdentityManagerLastUserRefreshErrorView. Adjust it to use the
matching identityManagerLastSessionRefreshError instead.
This commit is contained in:
Kenneth Jenkins 2025-03-25 14:48:07 -07:00 committed by GitHub
parent e7675a5b2a
commit b188a168af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -240,11 +240,11 @@ var (
Measure: identityManagerLastSessionRefreshSuccess,
Aggregation: view.Count(),
}
// IdentityManagerLastSessionRefreshErrorView contains user refresh errors counter
// IdentityManagerLastSessionRefreshErrorView contains session refresh errors counter
IdentityManagerLastSessionRefreshErrorView = &view.View{
Name: identityManagerLastUserRefreshError.Name(),
Description: identityManagerLastUserRefreshError.Description(),
Measure: identityManagerLastUserRefreshError,
Name: identityManagerLastSessionRefreshError.Name(),
Description: identityManagerLastSessionRefreshError.Description(),
Measure: identityManagerLastSessionRefreshError,
Aggregation: view.Count(),
}
// IdentityManagerLastSessionRefreshSuccessTimestampView contains successful session refresh counter