expvar

package
v1.63.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

README

expvar extension

Adds a standard expvar HTTP handler to a port that allows introspection.

This is a temporary implementaion until upstream ticket is addressed: https://github.com/open-telemetry/opentelemetry-collector/issues/11081

Documentation

Index

Constants

View Source
const (
	Port = 27777
)

Variables

View Source
var ID = component.NewID(componentType)

ID is the identifier of this extension.

Functions

func NewFactory

func NewFactory() extension.Factory

Types

type Config

type Config struct {
	Port int `mapstructure:"port"`
}

func (*Config) Validate

func (cfg *Config) Validate() error

Jump to

Keyboard shortcuts

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