Azure / Azure/azure-functions-durable-python
Ability to access 'classic' Azure Function Context, so that I can trace against the same operation_Id
- Langage dominant
- Python
- Étoiles
- 157
- Forks
- 70
- Merge moyen
- 2 j 10 h
- PR mergées (30 j)
- 2
Description
💡 **Feature description**
Currently, I associate my opentelemetry 'dependency' log entries against their parent operation_Id by running the following:
``` python
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?
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start by comparing the context passed to main() for bindings with the context available inside durable function orchestrations. Check how trace_context and operation_Id are exposed in each path, then confirm that an orchestration can access the classic Azure Function context or an equivalent value for tracing dependency entries against the same operation_Id.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- azure, python
- Domaine
- backend, cloud
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 48/100