Skip to content

Latest commit

 

History

History
46 lines (25 loc) · 1.6 KB

README.md

File metadata and controls

46 lines (25 loc) · 1.6 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 uneccessary computation
  • Set AnyValue log record body with arbitrarily complex data

See ExtendedLogsBridgeApiUsageTest.

Extended Metrics APIs

Features:

  • Attributes advice

See ExtendedMetricsApiUsageTest.

Extended ContextPropagator APIs

Features:

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

See ExtendedContextPropagatorsUsageTest.

Extended Trace APIs

Features:

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

See ExtendedTraceApiUsageTest.