influxdata / influxdata/influxdb
chore: Disable rhh metrics, as they aren't typically observed
Open
@davidby-influx is already working on this.
Since Dec 2, 2024.
area/metrics
team/edge
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
rhh hit metrics are expensive to bookkeep: they have a default 10% sample rate which is high and use a global random source which serializes access to do that sampling. They are rarely examined so we can disable them.
switch this to false: https://github.com/influxdata/influxdb/blob/94dbbdca7be5e4e6f73e802e8c5ad510e14e7446/pkg/rhh/rhh.go#L430
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.