Improve error threshold handling in pool #10

Open
opened 2023-01-19 09:09:42 +00:00 by alexvanin · 1 comment
alexvanin commented 2023-01-19 09:09:42 +00:00 (Migrated from github.com)
  • Add metrics for error counters
  • Consider decreasing error counter on some occasions
    • Decrease counter for some % on every successful healthcheck round
- Add metrics for error counters - Consider decreasing error counter on some occasions - Decrease counter for some % on every successful healthcheck round
fyrchik added the
pool
label 2023-05-02 07:56:16 +00:00
Member

Add metrics for error counters

We already have Statistics function

Line 3063 in 2b8329e
func (p Pool) Statistic() Statistic {

) that returns error counter that is used in s3-gw metrics

func (m *poolMetricsCollector) updateStatistic() {

> Add metrics for error counters We already have `Statistics` function https://git.frostfs.info/TrueCloudLab/frostfs-sdk-go/src/commit/2b8329e026c74d310817938c6cb8243749d0d49e/pool/pool.go#L3063) that returns error counter that is used in s3-gw metrics https://git.frostfs.info/TrueCloudLab/frostfs-s3-gw/src/commit/079fd205133b3e42f71c6276b4893c0287c8ec84/metrics/pool.go#L80
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-sdk-go#10
No description provided.