Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGatherer ¶
Types ¶
type Option ¶
type Option func(*metrics) error
Option represents an option which can be applied to metrics.
func WithExporterDisabled ¶
WithExporterDisabled can be used to disable the metrics exporter.
func WithPeriod ¶
WithPeriod sets the internal metrics collection period.
func WithServiceName ¶
WithServiceName sets the service name reported for metrics.
Click to show internal directories.
Click to hide internal directories.