Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Ability to access 'classic' Azure Function Context, so that I can trace against the same operation_Id

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

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

評価

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

調査の方向性

まず、バインディング用に main() に渡されるコンテキストと、Durable Functions のオーケストレーション内で利用できるコンテキストを比較します。各パスで trace_context と operation_Id がどのように公開されるかを確認し、その後、オーケストレーションから従来の Azure Function コンテキストまたは同等の値にアクセスして、同じ operation_Id に対する依存関係エントリを追跡できることを確認します。

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

説明

Enhancement fixed-in-v2 P3

💡 Feature description
Currently, I associate my opentelemetry 'dependency' log entries against their parent operation_Id by running the following:

        carrier = {
            "traceparent": azf_context.trace_context.Traceparent,
            "tracestate": azf_context.trace_context.Tracestate,
        }
        context = extract(carrier)

(as per azure's own docs)

The azure function context is passed in as the final parameter when main() is called by any binding.

While this seems to work for activities, I am unable to find a similar context information from within durable function orchestrations.

Can you help me find out what I'm missing -- or add it?

主要言語
Python
スター
157
フォーク
70
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

Azure/azure-functions-durable-python のほかの issue

Azure/azure-functions-durable-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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