[#1388] metrics: Mark nolint:unused metrics

Although these fields could be deleted, I annotated them so that all the
metrics used would be defined in one place.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2024-09-23 09:02:00 +03:00 committed by Dmitrii Stepanov
parent 2bd560e528
commit b69e07da7a
2 changed files with 4 additions and 2 deletions

View file

@ -17,6 +17,7 @@ type InnerRingServiceMetrics struct {
eventDuration *prometheus.HistogramVec eventDuration *prometheus.HistogramVec
morphCacheMetrics *morphCacheMetrics morphCacheMetrics *morphCacheMetrics
logMetrics logger.LogMetrics logMetrics logger.LogMetrics
// nolint: unused
appInfo *ApplicationInfo appInfo *ApplicationInfo
} }

View file

@ -25,6 +25,7 @@ type NodeMetrics struct {
morphClient *morphClientMetrics morphClient *morphClientMetrics
morphCache *morphCacheMetrics morphCache *morphCacheMetrics
log logger.LogMetrics log logger.LogMetrics
// nolint: unused
appInfo *ApplicationInfo appInfo *ApplicationInfo
} }