package
Version:
v0.12.8
Opens a new window with list of versions in this module.
Published: Apr 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
PodIP string `envconfig:"POD_IP" yaml:"podIP"`
PodNamespace string `envconfig:"POD_NAMESPACE" yaml:"podNamespace"`
ExportInterval time.Duration `envconfig:"EXPORT_INTERVAL" yaml:"exportInterval"`
Sinks map[string]Sink `yaml:"sinks"`
}
const (
EncodingProtobuf Encoding = "protobuf"
)
type SinkPromRemoteWriteConfig struct {
URL string `yaml:"url"`
}
const (
SinkTypeHTTP SinkType = "http"
SinkTypePromRemoteWrite SinkType = "prom_remote_write"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.