Skip navigation links

Package brown.tracingplane

Provides the main BaggageContext and BaggageProvider interfaces of the Tracing Plane

See: Description

Package brown.tracingplane Description

Provides the main BaggageContext and BaggageProvider interfaces of the Tracing Plane

At a high level, BaggageContext instances exist at the granularity of requests (or tasks, jobs, etc). The purpose is to propagate a BaggageContext alongside each request while it executes. BaggageContexts carry user-defined or tracing-tool defined data.

BaggageContext instances should follow requests in a fine-grained manner. For example, if a request splits off into multiple concurrent execution branches, then each branch of execution should receive its its own BaggageContext instance, created by calling BaggageProvider#branch(BaggageContext) at the time the request splits.

Likewise, if multiple concurrent branches merge, or if some task is dependent upon multiple predecessors completing, then BaggageContext instances can be merged using BaggageProvider#join(BaggageContext, BaggageContext).

The Tracing Plane provides several BaggageContext implementations, the main implementation being BDLContext in the brown.tracingplane.bdl package.

Skip navigation links