Add one more field into the job runs schema, for Atum measurements

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
67/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
postgresql, python
領域
backend, databases

調査の方向性

現在のスキーマ/モデルとデータベースのマイグレーションファイルで、ジョブ実行における additional_info がどこで定義されているかを特定してください。新しい属性は同じオプションパターンに従う必要があります。ジョブ実行メッセージのシリアライゼーション経路を追跡し、既存のペイロードを壊さずに atum_measurements フィールドを追加できることを確認してください。まずジョブ実行のモデル/スキーマと API/メッセージ構築のエントリーポイントを読み、その後、Postgres がこのオプションの JSON フィールドを保存できるようにマイグレーションを更新してください。ジョブ実行レコードが atum_measurements を保持して出力でき、関連するテストが更新または追加されてパスすれば、Issue は完了です。

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

説明

enhancement
Feature Description

There is Atum Service: https://github.com/AbsaOSS/atum-service we use within our ecosystem to perform various metrics calculations against the processed data, such as record counts.

The EventGate is common integration point between our applications and can hold references to Atum measurements in the message; for this, we talked that the schema can be adjusted by creating a new field under the jobs, maybe atum_measurements or something like that.

This should be an optional field, basically a JSON, similar to additional_info which we did not selected for this because it can contain much more, and application-specific info. But the atum_measurements is relatively directed and well-formatted (the format is outside of the scope of this ticket and even EventGate).

Problem / Opportunity

Being informed about the record counts / measurements on the jobs' messages side can provide insight for our customers and convenient, consistent usage.

Acceptance Criteria

The job runs schema contains one more optional attribute for capturing atum measurements in some format.
Consider adding this into the PG DB for reference, same as additional_info attribute.

主要言語
Python
スター
4
フォーク
0
平均マージ
3日 12時間
マージ済み PR(30日)
10

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

AbsaOSS/EventGate のほかの issue

AbsaOSS/EventGate の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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