Custom Distributed Tracing in Azure Functions

English Intermediate Integration

As developers, we tend to focus on building and shipping our services and apps to production, but it’s quite common that we forget to think about what happens after go-live. Once we reach production, the solution becomes someone else’s problem. But, even if we could build bug-free services, distributed systems will fail. And if we don’t design and build our services with traceability and observability in mind, we won’t give the means to the operations team to troubleshoot problems when they arise. While Azure Functions provide very rich telemetry with Application Insights; in this session we will see how to implement custom tracing and some observability practices in Azure Functions adding business related metadata, leveraging the structured logging capabilities, and going beyond the out-of-the-box features. In the session, I will demo a distributed tracing approach for Azure Functions that works well in integration solutions following the Publish-Subscribe integration pattern.


Paco de la Cruz

Senior Cloud Architect and Developer

Paco is a senior cloud solution architect and developer and Azure MVP with 20 years of professional experience architecting and implementing cloud platforms, distributed applications, and cloud integration solutions. As a consultant, Paco has had the opportunity to work for many different organisations solving very interesting and complex challenges.

Code of Conduct

We seek to provide a respectful, friendly, professional experience for everyone, regardless of gender, sexual orientation, physical appearance, disability, age, race or religion. We do not tolerate any behavior that is harassing or degrading to any individual, in any form. The Code of Conduct will be enforced.

Who does this Code of Conduct apply to?

All live stream organizers using the Global Azure brand and Global Azure speakers are responsible for knowing and abiding by these standards. Each speaker who wishes to submit through our Call for Presentations needs to read and accept the Code of Conduct. We encourage every organizer and attendee to assist in creating a welcoming and safe environment. Live stream organizers are required to inform and enforce the Code of Conduct if they accept community content to their stream.

Where can I get help?

If you are being harassed, notice that someone else is being harassed, or have any other concerns, report it. Please report any concerns, suspicious or disruptive activity or behavior directly to any of the live stream organizers, or directly to the Global Azure admins at All reports to the Global admin team will remain confidential.

Code of Conduct for local live streams

We expect local organizers to set up and enforce a Code of Conduct for all Global Azure live stream.

A good template can be found at, including internationalized versions at An excellent version of a Code of Conduct, not a template, is built by the DDD Europe conference at