Add the sum of all values that were added
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript, typescript
調査の方向性
まずヒストグラム API と BigInt サポートに関するバックログの議論を確認します。大きな値に対して正確性を失わずに、合計値をどのように公開、リセット、保存するかを定義します。完了条件には、通常の値、リセットの動作、大きな数値の処理を対象とするテストを含める必要があります。
索引モデルが issue の本文から書いたものです。
説明
Most histograms I've seen are able to return the sum of all added values since the last reset. This is even mentioned in the Prometheus docs. While this could be done in a wrapper over this library, having it built-in would be a nice addition (no pun intended).
Given that the maximum integer in JavaScript is very low, this cannot really be correctly implemented for large numbers using Number. However, I've seen in the backlog that BigInt support is planned, so maybe that would be an option to store the sum? Right now BigInt is not really optimized and is pretty slow, but computing the sum could always be an option disabled by default that can be enabled when needed. It may also be possible to use a Number up to a point where it would overflow and then switch to a BigInt.
- 主要言語
- TypeScript
- スター
- 130
- フォーク
- 18
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
HdrHistogram/HdrHistogramJS のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 5/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
HdrHistogram/HdrHistogramJS#43 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
HdrHistogram/HdrHistogramJS#39 · コメント 1 件 ·
-
Expose iteratorsオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
HdrHistogram/HdrHistogramJS#27 · コメント 1 件 ·
HdrHistogram/HdrHistogramJS の issue をすべて見る
似ている issue
-
area:desktop bug documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
anthropics/claude-code#104801 ·
メンテナーはふだん 1 日以内に返信
-
check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
spudly/design-system#110 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefix対応中かも @ItsDeadlyProgrammer が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
appsmithorg/appsmith#42471 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信