Module otel_meter_provider

This module defines the API for a MeterProvider.

Description

This module defines the API for a MeterProvider. A MeterProvider stores Meter configuration and is how Meters are accessed. An implementation must be a gen_server that handles the API's calls. The SDK should register a MeterProvider with the name otel_meter_provider which is used as the default global Provider.

Data Types

meter()

meter() = term()

Function Index

force_flush/0
force_flush/1
get_meter/3
get_meter/4
resource/0
resource/1

Function Details

force_flush/0

force_flush() -> ok | {error, term()} | timeout

force_flush/1

force_flush(ServerRef::atom() | pid()) -> ok | {error, term()} | timeout

get_meter/3

get_meter(Name, Vsn, SchemaUrl) -> Meter

get_meter/4

get_meter(ServerRef, Name, Vsn, SchemaUrl) -> Meter

resource/0

resource() -> term() | undefined

resource/1

resource(ServerRef::atom() | pid()) -> term() | undefined


Generated by EDoc