exporter

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type Component

type Component struct {
	// contains filtered or unexported fields
}

func (*Component) Handler

func (c *Component) Handler() http.Handler

Handler serves metrics endpoint from the integration implementation.

func (*Component) Run

func (c *Component) Run(ctx context.Context) error

Run implements component.Component.

func (*Component) Update

func (c *Component) Update(args component.Arguments) error

Update implements component.Component.

type Creator

Creator is a function provided by an implementation to create a concrete exporter instance.

type Exports

type Exports struct {
	Targets []discovery.Target `river:"targets,attr"`
}

Exports are simply a list of targets for a scraper to consume.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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