Azure / Azure/durabletask

Update ActivityKind values

Aperta
#718 9 commenti 0 reazioni 1 assegnatario Rivendicata da @bachuv Vedi su GitHub
Lingua principale
C#
Stelle
1.7k
Fork
335
Merge medio
2g 23h
PR unite (30g)
6

Descrizione

Originally taken from #692 ([comment](https://github.com/Azure/durabletask/pull/692#discussion_r836667217)).

> It would be good to also set ActivityKind to an appropriate value based on the activity at had:
>
> TaskHubClient -> Producer (this produces a new message on the DTFx queue)
> TaskHubWorker processing an orchestration or activity -> Server (this is the 'server' running work)
> TaskHubWorker sending an outbound orchestration or activity -> Client (this is acting as a 'client' waiting for external work to process)
>
> dtfx.type should then be used to indicate what is the task type, as in it is only even Activity or Orchestration values. So it can be read as "this ActivityKind.Server span is processing a dtfx.type of Orchestration"

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.