Documentation ¶
Index ¶
- Constants
- type Arguments
- func (args Arguments) Convert() (otelcomponent.Config, error)
- func (args Arguments) DebugMetricsConfig() otelcolCfg.DebugMetricsArguments
- func (args Arguments) Exporters() map[otelcomponent.DataType]map[otelcomponent.ID]otelcomponent.Component
- func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension
- func (args *Arguments) SetToDefault()
- func (args *Arguments) Validate() error
Constants ¶
View Source
const ( DATADOG_TRACE_ENDPOINT = "https://trace.agent.%s" DATADOG_METRICS_ENDPOINT = "https://api.%s" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Client datadog_config.DatadogClientArguments `alloy:"client,block,optional"` Queue otelcol.QueueArguments `alloy:"sending_queue,block,optional"` Retry otelcol.RetryArguments `alloy:"retry_on_failure,block,optional"` // Datadog specific configuration settings APISettings datadog_config.DatadogAPIArguments `alloy:"api,block"` Traces datadog_config.DatadogTracesArguments `alloy:"traces,block,optional"` Metrics datadog_config.DatadogMetricsArguments `alloy:"metrics,block,optional"` HostMetadata datadog_config.DatadogHostMetadataArguments `alloy:"host_metadata,block,optional"` OnlyMetadata bool `alloy:"only_metadata,attr,optional"` Hostname string `alloy:"hostname,attr,optional"` // DebugMetrics configures component internal metrics. Optional. DebugMetrics otelcolCfg.DebugMetricsArguments `alloy:"debug_metrics,block,optional"` }
Arguments configures the otelcol.exporter.datadog component.
func (Arguments) Convert ¶
func (args Arguments) Convert() (otelcomponent.Config, error)
Convert implements exporter.Arguments.
func (Arguments) DebugMetricsConfig ¶
func (args Arguments) DebugMetricsConfig() otelcolCfg.DebugMetricsArguments
func (Arguments) Exporters ¶
func (args Arguments) Exporters() map[otelcomponent.DataType]map[otelcomponent.ID]otelcomponent.Component
Exporters implements exporter.Arguments.
func (Arguments) Extensions ¶
func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension
Extensions implements exporter.Arguments.
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
Click to show internal directories.
Click to hide internal directories.