Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRegistered ¶
IsRegistered checks whether a parser is registered with the given name.
func NewPrometheusParser ¶ added in v0.149.0
func NewPrometheusParser() *components.GenericParser[*prometheusConfig]
NewPrometheusParser returns a parser for the prometheus receiver that extracts the api_server.server_config.endpoint port for Service and NetworkPolicy exposure.
func NewScraperParser ¶
func NewScraperParser(name string) *components.GenericParser[any]
NewScraperParser is an instance of a generic parser that returns nothing when called and never fails.
func ReceiverFor ¶ added in v0.104.0
func ReceiverFor(name string) components.Parser
ReceiverFor returns a parser builder for the given exporter name.
func Register ¶
func Register(name string, p components.Parser)
Register adds a new parser builder to the list of known builders.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.