Documentation
¶
Index ¶
Constants ¶
View Source
const (
// TypeStr is the unique identifier for the Prometheus remote write exporter.
TypeStr = "remote_write"
)
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ExporterFactory
NewFactory returns a new factory for the Prometheus remote write processor.
Types ¶
type Config ¶
type Config struct {
config.ExporterSettings `mapstructure:",squash"`
ConstLabels prometheus.Labels `mapstructure:"const_labels"`
Namespace string `mapstructure:"namespace"`
PromInstance string `mapstructure:"metrics_instance"`
}
Config holds the configuration for the Prometheus remote write processor.
Click to show internal directories.
Click to hide internal directories.