v0.0.24 Добавлены метрики в messages_resolvers
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e58bbb71be
commit
c5842a6f0d
@ -194,9 +194,10 @@ func IncGQLOperation(operationType, operationName string, success bool, duration
|
||||
}
|
||||
|
||||
gqlOperationsTotal.WithLabelValues(
|
||||
operationType,
|
||||
operationName,
|
||||
status,
|
||||
operationType, // operation
|
||||
operationName, // type (возможно нужно переименовать)
|
||||
operationName, // name (дублирование)
|
||||
status, // success
|
||||
).Inc()
|
||||
|
||||
gqlOperationDuration.WithLabelValues(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user