Documentation
¶
Overview ¶
Package defaultforwarder implements a component to send payloads to the backend
Package defaultforwarder is the defaultforwarder component module root. Use sub-packages for direct imports:
- def/ for the component interface
- impl/ for the implementation
- fx/ for the fx wiring
- mock/ for the mock
- noop-impl/ for a no-op implementation
Index ¶
- Constants
- Variables
- type DefaultForwarderdeprecated
- type Forwarderdeprecated
- type Optionsdeprecated
Constants ¶
const Started = defaultforwarderimpl.Started
Started represents the internal state of a started Forwarder.
Deprecated: use comp/forwarder/defaultforwarder/impl instead.
const Stopped = defaultforwarderimpl.Stopped
Stopped represents the internal state of an unstarted Forwarder.
Deprecated: use comp/forwarder/defaultforwarder/impl instead.
Variables ¶
var NewDefaultForwarder = defaultforwarderimpl.NewDefaultForwarder
NewDefaultForwarder creates a new default forwarder.
Deprecated: use comp/forwarder/defaultforwarder/impl instead.
var NewOptions = defaultforwarderimpl.NewOptions
NewOptions creates forwarder options from the given configuration.
Deprecated: use comp/forwarder/defaultforwarder/impl instead.
Functions ¶
This section is empty.
Types ¶
type DefaultForwarder
deprecated
type DefaultForwarder = defaultforwarderimpl.DefaultForwarder
DefaultForwarder is the default implementation of the forwarder.
Deprecated: use comp/forwarder/defaultforwarder/impl instead.
type Forwarder
deprecated
type Forwarder = defaultforwarderdef.Forwarder
Forwarder is the interface for the default forwarder.
Deprecated: use comp/forwarder/defaultforwarder/def instead.
type Options
deprecated
type Options = defaultforwarderimpl.Options
Options contains the options for the default forwarder.
Deprecated: use comp/forwarder/defaultforwarder/impl instead.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package defaultforwarder defines the interface for the default forwarder component.
|
Package defaultforwarder defines the interface for the default forwarder component. |
|
Package endpoints stores a collection of `transaction.Endpoint` mainly used by the forwarder package to send data to Datadog using the right request path for a given type of data.
|
Package endpoints stores a collection of `transaction.Endpoint` mainly used by the forwarder package to send data to Datadog using the right request path for a given type of data. |
|
Package fx provides the fx module for the defaultforwarder component.
|
Package fx provides the fx module for the defaultforwarder component. |
|
Package defaultforwarderimpl implements the default forwarder component.
|
Package defaultforwarderimpl implements the default forwarder component. |
|
internal
|
|
|
retry
Package retry provides retry mechanisms for the forwarder.
|
Package retry provides retry mechanisms for the forwarder. |
|
Package defaultforwardermock provides a mock forwarder component for testing.
|
Package defaultforwardermock provides a mock forwarder component for testing. |
|
Package defaultforwardernoop provides a no-op implementation of the defaultforwarder component.
|
Package defaultforwardernoop provides a no-op implementation of the defaultforwarder component. |
|
Package resolver contains logic to perform per `transaction.Endpoint` domain resolution.
|
Package resolver contains logic to perform per `transaction.Endpoint` domain resolution. |
|
Package transaction defines the transaction of the forwarder
|
Package transaction defines the transaction of the forwarder |