Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PromWriteURL is the url for the prom write handler PromWriteURL = "/prom/remote/write" // PromWriteHTTPMethod is the HTTP method used with this resource. PromWriteHTTPMethod = http.MethodPost )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( set component.ReceiverCreateSettings, config Config, next consumer.Metrics, ) (component.MetricsReceiver, error)
New creates the StatsD receiver with the given parameters.
func NewFactory ¶
func NewFactory() component.ReceiverFactory
NewFactory creates a factory for the StatsD receiver.
Types ¶
Click to show internal directories.
Click to hide internal directories.