Documentation
¶
Overview ¶
Package metrics is superseded by github.com/craftgodotdev/craftgo/pkg/telemetry, which wires traces and metrics as one stack.
Deprecated: import pkg/telemetry. This package keeps only the config type, exporter names and defaults as aliases for one release.
Index ¶
Constants ¶
View Source
const ( ExporterPrometheus = telemetry.ExporterPrometheus ExporterOTLPgRPC = telemetry.ExporterOTLPgRPC ExporterOTLPHTTP = telemetry.ExporterOTLPHTTP ExporterNone = telemetry.ExporterNone )
Exporter selector values for [Config.Exporter].
View Source
const ( DefaultAdminAddr = telemetry.DefaultAdminAddr DefaultMetricsPath = telemetry.DefaultMetricsPath )
DefaultAdminAddr and DefaultMetricsPath are telemetry.DefaultAdminAddr and telemetry.DefaultMetricsPath.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.