Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 1.54 KB

README.md

File metadata and controls

45 lines (24 loc) · 1.54 KB

API Incubator

Experimental APIs, including Event API, extended Log Bridge APIs, extended Metrics APIs, extended ContextPropagator APIs, and extended Trace APIs.

Event API

Features:

See EventApiUsageTest.

Extended Log Bridge API

Features:

  • Check if logger is enabled before emitting logs to avoid unnecessary computation

See ExtendedLogsBridgeApiUsageTest.

Extended Metrics APIs

Features:

  • Attributes advice

See ExtendedMetricsApiUsageTest.

Extended ContextPropagator APIs

Features:

  • Check if instrument is enabled before recording measurements to avoid unnecessary computation
  • Simplified injection / extraction of context

See ExtendedContextPropagatorsUsageTest.

Extended Trace APIs

Features:

  • Check if tracer is enabled before starting spans to avoid unnecessary computation
  • Utility methods to reduce boilerplace using span API, including extracting context, and wrapping runnables / callables with spans

See ExtendedTraceApiUsageTest.