Documentation
¶
Overview ¶
Package bindplaneextension provides an extension that facilitates communication with Bindplane
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a new factory for the bindplane extension
Types ¶
type Config ¶
type Config struct { // Labels in "k1=v1,k2=v2" format Labels string `mapstructure:"labels"` // Component ID of the opamp extension. If not specified, then // this extension will not generate any custom messages for throughput metrics or topology. OpAMP component.ID `mapstructure:"opamp"` // MeasurementsInterval is the interval on which to report measurements. // Measurements reporting is disabled if this duration is 0. MeasurementsInterval time.Duration `mapstructure:"measurements_interval"` // ExtraMeasurementsAttributes are a map of key-value pairs to add to all reported measurements. ExtraMeasurementsAttributes map[string]string `mapstructure:"extra_measurements_attributes,omitempty"` }
Config is the configuration for the bindplane extension
Click to show internal directories.
Click to hide internal directories.