Documentation ¶
Overview ¶
Package prometheusremotewritereceiver implements Prometheus Remote Write API for OTLP collector.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { confighttp.ServerConfig `mapstructure:",squash"` TimeThreshold int64 `mapstructure:"time_threshold"` }
Config defines config for Receiver.
type Receiver ¶
type Receiver struct {
// contains filtered or unexported fields
}
Receiver is a Prometheus remote write receiver.
func NewReceiver ¶
func NewReceiver(params receiver.CreateSettings, config *Config, mconsumer consumer.Metrics) (*Receiver, error)
NewReceiver creates new [Start].
func (*Receiver) Shutdown ¶
Shutdown implements component.Component.
Click to show internal directories.
Click to hide internal directories.