Documentation ¶
Overview ¶
Package autometric contains a simple reflect-based OpenTelemetry metric initializer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InitOptions ¶
type InitOptions struct { // Prefix defines common prefix for all metrics. Prefix string // FieldName returns name for given field. FieldName func(prefix string, sf reflect.StructField) string }
InitOptions defines options for Init.
Click to show internal directories.
Click to hide internal directories.