Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.8.0
type Option func() error
func WithExporter ¶ added in v0.12.0
WithExporter sets the type of metrics exporter to use.
func WithMetrics ¶ added in v0.8.0
WithMetrics sets the enabled and metrics.
func WithNamespace ¶ added in v0.8.0
WithNamespace sets a common namespace (prefix) for all metrics.
func WithReportPeriod ¶ added in v0.8.0
WithReportPeriod sets the reporting period for periodic metric exporters (otlp-http and otlp-grpc).
Click to show internal directories.
Click to hide internal directories.