Bigtable: adding 1ms to core exporter

オープン
#9,066 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
typescript
領域
observability

調査の方向性

まず PR #9059 と Bigtable メトリクスエクスポーターの変更を確認し、その後、endTime の動作を Monitoring API の時間間隔要件と比較します。ロールアウトによる悪影響がないことを確認できれば完了です。この issue ではテストやファイルは指定されていません。

索引モデルが issue の本文から書いたものです。

説明

api: bigtable

in https://github.com/googleapis/google-cloud-node/pull/9059 we set endTime to startTime + 1ms if endTime is less than or equal to startTime in the bigtable metric exporter. This is logic that also shows up in the go opentelemetry exporter to satisfy the Monitoring API's requirement that the endTime is at least 1ms after startTime for time intervals: https://cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#timeinterval

The start time of a new interval must be at least a millisecond after the end time of the previous interval because intervals are closed. If the start time of a new interval is the same as the end time of the previous interval, then data written at the new start time could overwrite data written at the previous end time.

This issue is to track this change to make sure it does not have any adverse affects while we roll it out in #9059

主要言語
TypeScript
スター
3.2k
フォーク
732
平均マージ
2日 11時間
マージ済み PR(30日)
99

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googleapis/google-cloud-node のほかの issue

googleapis/google-cloud-node の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。