Documentation
¶
Overview ¶
Package collectorimpl implements the collector component interface
Package collectorimpl implements the collector component interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtraFactories ¶
type ExtraFactories interface {
GetReceivers() []receiver.Factory
GetProcessors() []processor.Factory
GetConverters() []confmap.ConverterFactory
GetExtensions() []extension.Factory
GetLoggingOptions() []zap.Option
GetAgentConfig() config.Component
GetProfilerName() string
}
ExtraFactories is an interface that provides extra factories for the collector. It is used to provide extra factories for the collector when the Agent Core is available or not.
func NewExtraFactoriesWithAgentCore ¶
func NewExtraFactoriesWithAgentCore( tagger tagger.Component, hostname hostname.Component, ipcComp ipc.Component, traceAgent traceagent.Component, log log.Component, config config.Component, ) ExtraFactories
NewExtraFactoriesWithAgentCore creates a new ExtraFactories instance when the Agent Core is available.
func NewExtraFactoriesWithoutAgentCore ¶
func NewExtraFactoriesWithoutAgentCore() ExtraFactories
NewExtraFactoriesWithoutAgentCore creates a new ExtraFactories instance when the Agent Core is not available.
type Params ¶
type Params struct {
GoRuntimeMetrics bool
// contains filtered or unexported fields
}
Params contains the parameters for the collector component.
func (Params) GetGoRuntimeMetrics ¶
GetGoRuntimeMetrics returns whether Go runtime metrics collection is enabled.
type Provides ¶
Provides defines the output of the collector component.
func NewComponent ¶
NewComponent creates a new collector component
Directories
¶
| Path | Synopsis |
|---|---|
|
Package agentprovider generates OpenTelemetry Collector configuration from Datadog Agent configuration.
|
Package agentprovider generates OpenTelemetry Collector configuration from Datadog Agent configuration. |
|
Package converters implements the converters for the host profiler collector.
|
Package converters implements the converters for the host profiler collector. |
|
extensions
|
|
|
hpflareextension
Package hpflareextension defines the OpenTelemetry Extension implementation.
|
Package hpflareextension defines the OpenTelemetry Extension implementation. |
|
Package params defines the interface for collector configuration parameters.
|
Package params defines the interface for collector configuration parameters. |
|
processor
|
|
|
ddhostnameprocessor
Package ddhostnameprocessor implements an OTel processor that injects datadog.host.name into resource attributes for standalone mode.
|
Package ddhostnameprocessor implements an OTel processor that injects datadog.host.name into resource attributes for standalone mode. |
|
Package receiver implements the receiver for the host profiler.
|
Package receiver implements the receiver for the host profiler. |