Documentation ¶
Index ¶
- func NewMetricProvider(ctx context.Context) *sdkmetric.MeterProvider
- func NewTraceProvider(ctx context.Context) *sdktrace.TracerProvider
- func ShutdownMetricProvider(ctx context.Context, mp *sdkmetric.MeterProvider)
- func ShutdownTraceProvider(ctx context.Context, tp *sdktrace.TracerProvider)
- func StartCollectingRuntimeMetrics()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetricProvider ¶
func NewMetricProvider( ctx context.Context, ) *sdkmetric.MeterProvider
Creates new meter provider
func NewTraceProvider ¶
func NewTraceProvider( ctx context.Context, ) *sdktrace.TracerProvider
Creates new trace provider
func ShutdownMetricProvider ¶
func ShutdownMetricProvider( ctx context.Context, mp *sdkmetric.MeterProvider, )
Shuts down meter provider
func ShutdownTraceProvider ¶
func ShutdownTraceProvider( ctx context.Context, tp *sdktrace.TracerProvider, )
Shuts down trace provider
func StartCollectingRuntimeMetrics ¶
func StartCollectingRuntimeMetrics()
Starts runtime metric collection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.