mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-28 18:06:34 +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,
|
Measure: identityManagerLastSessionRefreshSuccess,
|
||||||
Aggregation: view.Count(),
|
Aggregation: view.Count(),
|
||||||
}
|
}
|
||||||
// IdentityManagerLastSessionRefreshErrorView contains user refresh errors counter
|
// IdentityManagerLastSessionRefreshErrorView contains session refresh errors counter
|
||||||
IdentityManagerLastSessionRefreshErrorView = &view.View{
|
IdentityManagerLastSessionRefreshErrorView = &view.View{
|
||||||
Name: identityManagerLastUserRefreshError.Name(),
|
Name: identityManagerLastSessionRefreshError.Name(),
|
||||||
Description: identityManagerLastUserRefreshError.Description(),
|
Description: identityManagerLastSessionRefreshError.Description(),
|
||||||
Measure: identityManagerLastUserRefreshError,
|
Measure: identityManagerLastSessionRefreshError,
|
||||||
Aggregation: view.Count(),
|
Aggregation: view.Count(),
|
||||||
}
|
}
|
||||||
// IdentityManagerLastSessionRefreshSuccessTimestampView contains successful session refresh counter
|
// IdentityManagerLastSessionRefreshSuccessTimestampView contains successful session refresh counter
|
||||||
|
|
Loading…
Add table
Reference in a new issue