exporter

package
v0.8.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Forward added in v0.3.0

func Forward(res *outputs.Response) error

Forward processes a single *outputs.Response and forwards the event to the metric counters.

func Watch added in v0.3.0

func Watch(ctx context.Context, sc outputs.Service_SubClient, timeout time.Duration) error

Watch allows to watch and process a stream of *outputs.Response from a given outputs.Service_SubClient. The timeout parameter specifies the frequency of the watch operation.

It waits until the stream is closed, the context is cancelled or an error occured.

Types

This section is empty.

Jump to

Keyboard shortcuts

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