Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forwarder ¶
type Forwarder struct {
// contains filtered or unexported fields
}
Forwarder fans out OTLP payloads to one or more upstream HTTP endpoints.
func New ¶
New returns a Forwarder that will POST to each of the given base URLs. urls should be bare base URLs, e.g. "http://tempo:4318". sample is the per-payload forwarding probability in [0, 1]; values outside the range are clamped (NaN → 1.0).
Click to show internal directories.
Click to hide internal directories.