metrics

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 1 Imported by: 0

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

type Config

type Config = telemetry.MetricsConfig

Config is telemetry.MetricsConfig.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL