celestiaorg / celestiaorg/celestia-node

feat(monitoring): define custom buckets per histogram

Open
#2,470 1 comment 1 reaction 1 assignee Claimed by @vgonkivs View on GitHub
area:metrics enhancement
Dominant language
Go
Stars
996
Forks
1.1k
Avg merge
1d 6h
Merged PRs (30d)
34

Description

### Implementation ideas

All histogram metrics currently are using same predefined buckets values, that makes most of them unusable due to buckets being disproportional to observed values. With current version of otel it is only possible to set buckets values on global meter, but given different nature of each histogram it makes it unusable.

This is known issue of otel and tracked in:
https://github.com/open-telemetry/opentelemetry-go/issues/3826.
API spec improvement has been suggested and merged in:
https://github.com/open-telemetry/opentelemetry-specification/pull/3216
Implimentation is still to be done. And tracked in:
https://github.com/open-telemetry/opentelemetry-go/issues/4094

Once support of bucket boundary metric advice support is implemented in otel we need to add custom bucket per each histogram.

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.