registry

package
v3.18.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package registry provides a dynamic registry of available exporters. this makes it easy for forks to inject new metrics exporters as-needed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter interface {
	// Start starts the exporter behavior. If Start()
	// returns an error, that is bubbled up to the
	// controller manager
	Start(context.Context) error
}

type StartExporter

type StartExporter func(context.Context) error

func Exporters

func Exporters() []StartExporter

Jump to

Keyboard shortcuts

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