all

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

README

metrics/all

Import path: github.com/InsideGallery/core/metrics/all

metrics/all is a bundle import package. It imports every in-tree metrics processor so their init functions register with github.com/InsideGallery/core/metrics.

Main APIs

This package has no exported API. Use it for side effects:

package main

import _ "github.com/InsideGallery/core/metrics/all"

Registered Processors

In the default build, the bundle registers:

  • datadog
  • otel
  • prometheus
  • statsd

Build Tags

The default file is built with !metrics_minimal. Building with -tags metrics_minimal keeps the import path available but omits all processor imports, so no processors are registered by this bundle.

Use this package when a binary should select any in-tree metrics processor from METRICS_PROCESSORS.

Documentation

Overview

Package all imports every in-tree metrics processor so each processor registers with the default metrics registry through its init hook.

Blank import this package when a binary should select any supported metrics processor from configuration. Build with the metrics_minimal tag to omit the bundle imports while keeping the import path available.

Jump to

Keyboard shortcuts

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