ChainSafe / ChainSafe/gossamer

Add individual RefreshInterval for each `GaugeMetrics`

Open
#1,955 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Issue summary

We could add individual Refresh for each `GaugeMetrics`or `label inside the gauges map` rather than a fixed refresh interval value for all the gauges.

Reference is in: https://github.com/ChainSafe/gossamer/blob/b202e89535c27f6e849d2645bbd44fd8e9e3377c/dot/metrics/collector.go#L68
https://github.com/ChainSafe/gossamer/blob/b202e89535c27f6e849d2645bbd44fd8e9e3377c/dot/metrics/collector.go#L113

## Other information and links

-

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.