global

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppO11y added in v1.5.0

type AppO11y struct {
	// ReportRoutes sets whether the metrics should set the http.route attribute
	ReportRoutes bool
	// K8sInformer enables direct access to the Kubernetes API
	K8sInformer *kube2.Metadata
	// K8sDatabase provides access to shared kubernetes metadata
	K8sDatabase *kube.Database
}

AppO11y stores context information that is only required for application observability.

type ContextInfo

type ContextInfo struct {
	// K8sEnabled specifies whether kubernetes decoration and discovery is enabled
	K8sEnabled bool
	// AppO11y stores context information that is only required for application observability.
	// Its values must be initialized by the App O11y code and shouldn't be accessed from the
	// NetO11y part.
	// TODO: unify appo11y and neto11y kubernetes informers
	AppO11y AppO11y
	// Metrics  that are internal to the pipe components
	Metrics imetrics.Reporter
	// Prometheus connection manager to coordinate metrics exposition from diverse nodes
	Prometheus *connector.PrometheusManager
	// MetricAttributeGroups will selectively enable or disable diverse groups of attributes
	// in the metric exporters
	MetricAttributeGroups attributes.AttrGroups
}

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