mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-28 09:56:31 +02:00
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:
parent
e7675a5b2a
commit
b188a168af
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue