Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

reservoir

v1.47.0
go.opentelemetry.io/otel/sdk/metric/internal/reservoir

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

2 matches

Top ↑

Package reservoir contains experimental features used by built-in exemplar reservoirs which require coordination with the metrics SDK.

Types

ConcurrentSafe

type ConcurrentSafe interface {
	// contains filtered or unexported methods
}

ConcurrentSafe is an interface that can be embedded in an exemplar.Reservoir to indicate to the SDK that it is safe to invoke its methods concurrently. If this interface is not embedded, the SDK assumes it is not safe to call concurrently and locks around Reservoir methods. This is currently only used by the built-in reservoirs.

Dependency graph