global

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextInfo

type ContextInfo struct {
	// ChannelBufferLen specifies, for each channel that is created in the pipeline, its buffer length
	ChannelBufferLen int
	// ReportRoutes sets whether the metrics should set the http.route attribute
	ReportRoutes bool
	// ServiceName is the value of the service_name config attribute, or the discovered value
	ServiceName string
	// ServiceNamespace is the value of the service_namespace config attribute
	ServiceNamespace string
	// Metrics  that are internal to the pipe components
	Metrics imetrics.Reporter
	// Prometheus connection manager to coordinate metrics exposition from diverse nodes
	Prometheus *connector.PrometheusManager
}

ContextInfo stores some context information that must be shared across some nodes of the processing graph.

Jump to

Keyboard shortcuts

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