selftelemetry

package
v1.300073.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package selftelemetry publishes the agent's prometheus scrape and discovery registries on the collector's own service::telemetry endpoint. The collector builds that endpoint's registry privately, so the only way onto it is to record through the MeterProvider every component is given, which is what this extension bridges into.

Index

Constants

This section is empty.

Variables

View Source
var TypeStr, _ = component.NewType("selftelemetry")

Functions

func NewFactory

func NewFactory() extension.Factory

Types

type Config

type Config struct {
	// DiscoveryInterval is how often the registries are rescanned for metric families that appeared
	// after the last scan, since receivers register theirs well after extensions start.
	DiscoveryInterval time.Duration `mapstructure:"discovery_interval,omitempty"`
}

Jump to

Keyboard shortcuts

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