Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OperationTypeInsert inserts a new k/v if it isn't already present OperationTypeInsert = "insert" // OperationTypeUpdate only modifies an existing k/v OperationTypeUpdate = "update" // OperationTypeUpsert does both of above OperationTypeUpsert = "upsert" )
View Source
const TypeStr = "prom_sd_processor"
TypeStr is the unique identifier for the Prometheus SD processor.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ProcessorFactory
NewFactory returns a new factory for the Attributes processor.
Types ¶
type Config ¶
type Config struct { config.ProcessorSettings `mapstructure:",squash"` ScrapeConfigs []interface{} `mapstructure:"scrape_configs"` OperationType string `mapstructure:"operation_type"` PodAssociations []string `mapstructure:"pod_associations"` }
Config holds the configuration for the Prometheus SD processor.
Click to show internal directories.
Click to hide internal directories.