Documentation
¶
Index ¶
Constants ¶
View Source
const (
// TypeStr is the unique identifier for the Prometheus service graph exporter.
TypeStr = "service_graphs"
// DefaultWait is the default value to wait for an edge to be completed
DefaultWait = time.Second * 10
// DefaultMaxItems is the default amount of edges that will be stored in the storeMap
DefaultMaxItems = 10_000
// DefaultWorkers is the default amount of workers that will be used to process the edges
DefaultWorkers = 10
)
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ProcessorFactory
NewFactory returns a new factory for the Prometheus service graph processor.
Types ¶
type Config ¶
type Config struct {
config.ProcessorSettings `mapstructure:",squash"`
Wait time.Duration `mapstructure:"wait"`
MaxItems int `mapstructure:"max_items"`
Workers int `mapstructure:"workers"`
SuccessCodes *successCodes `mapstructure:"success_codes"`
}
Config holds the configuration for the Prometheus service graph processor.
Click to show internal directories.
Click to hide internal directories.