Skip to content

Latest commit

 

History

History

incubator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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.