ozontech / ozontech/seq-db

Feature: provide gc_cpu_fraction metric

Open
#55 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Go
Stars
131
Forks
16
Avg merge
2d 4h
Merged PRs (30d)
11

Description

The metric go_memstats_gc_cpu_fraction has been removed in prometheus_client since the release of go 1.17+. We need this metric because it shows the average GC running time; alternatives in the form "go_memstats_last_gc_time_seconds" are worse for us.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the seq-db code that exposes Prometheus metrics and determine how go_memstats_gc_cpu_fraction was previously provided or can be derived; done means the metric is exposed with the expected name and represents average GC running time.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.