Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 1.27 KB

README.md

File metadata and controls

37 lines (20 loc) · 1.27 KB

API Incubator

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

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.