Documentation ¶
Index ¶
- Constants
- Variables
- func New(lgr log.Logger, registry metrics.Registry, cp coordinator.Coordinator, ...) providers.Provider
- func NewSink(cfg *DatadogDestination, logger log.Logger, registry metrics.Registry) (abstract.Sinker, error)
- type DatadogDestination
- func (d *DatadogDestination) CleanupMode() model.CleanupType
- func (d *DatadogDestination) Compatible(src model.Source, transferType abstract.TransferType) error
- func (d *DatadogDestination) GetProviderType() abstract.ProviderType
- func (d *DatadogDestination) IsDestination()
- func (d *DatadogDestination) Validate() error
- func (d *DatadogDestination) WithDefaults()
- type Provider
- type Sink
Constants ¶
View Source
const ProviderType = abstract.ProviderType("datadog")
Variables ¶
View Source
var (
FatalErrors = set.New("403 Forbidden")
)
Functions ¶
Types ¶
type DatadogDestination ¶
type DatadogDestination struct { ClientAPIKey model.SecretString DatadogHost string // mapping to columns SourceColumn string TagColumns []string HostColumn string ServiceColumn string MessageTemplate string ChunkSize int }
func (*DatadogDestination) CleanupMode ¶
func (d *DatadogDestination) CleanupMode() model.CleanupType
func (*DatadogDestination) Compatible ¶
func (d *DatadogDestination) Compatible(src model.Source, transferType abstract.TransferType) error
func (*DatadogDestination) GetProviderType ¶
func (d *DatadogDestination) GetProviderType() abstract.ProviderType
func (*DatadogDestination) IsDestination ¶
func (d *DatadogDestination) IsDestination()
func (*DatadogDestination) Validate ¶
func (d *DatadogDestination) Validate() error
func (*DatadogDestination) WithDefaults ¶
func (d *DatadogDestination) WithDefaults()
Click to show internal directories.
Click to hide internal directories.