Documentation ¶
Overview ¶
Package receiver utilities to create an Alloy component from OpenTelemetry Collector receivers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments interface { component.Arguments // Convert converts the Arguments into an OpenTelemetry Collector receiver // configuration. Convert() (otelcomponent.Config, error) // Extensions returns the set of extensions that the configured component is // allowed to use. Extensions() map[otelcomponent.ID]extension.Extension // Exporters returns the set of exporters that are exposed to the configured // component. Exporters() map[pipeline.Signal]map[otelcomponent.ID]otelcomponent.Component // NextConsumers returns the set of consumers to send data to. NextConsumers() *otelcol.ConsumerArguments // DebugMetricsConfig returns the configuration for debug metrics DebugMetricsConfig() otelcolCfg.DebugMetricsArguments }
Arguments is an extension of component.Arguments which contains necessary settings for OpenTelemetry Collector receivers.
type Receiver ¶
type Receiver struct {
// contains filtered or unexported fields
}
Receiver is an Alloy component shim which manages an OpenTelemetry Collector receiver component.
func New ¶
New creates a new Alloy component which encapsulates an OpenTelemetry Collector receiver. args must hold a value of the argument type registered with the Alloy component.
If the registered Alloy component registers exported fields, it is the responsibility of the caller to export values when needed; the Receiver component never exports any values.
func (*Receiver) CurrentHealth ¶
CurrentHealth implements component.HealthComponent.
func (*Receiver) LiveDebugging ¶ added in v1.3.0
Directories ¶
Path | Synopsis |
---|---|
Package datadog provides an otelcol.receiver.datadog component.
|
Package datadog provides an otelcol.receiver.datadog component. |
Package file_stats provides an otelcol.receiver.file_stats component.
|
Package file_stats provides an otelcol.receiver.file_stats component. |
Package jaeger provides an otelcol.receiver.jaeger component.
|
Package jaeger provides an otelcol.receiver.jaeger component. |
Package kafka provides an otelcol.receiver.kafka component.
|
Package kafka provides an otelcol.receiver.kafka component. |
Package loki provides an otelcol.receiver.loki component.
|
Package loki provides an otelcol.receiver.loki component. |
Package opencensus provides an otelcol.receiver.opencensus component.
|
Package opencensus provides an otelcol.receiver.opencensus component. |
Package otlp provides an otelcol.receiver.otlp component.
|
Package otlp provides an otelcol.receiver.otlp component. |
Package prometheus provides an otelcol.receiver.prometheus component.
|
Package prometheus provides an otelcol.receiver.prometheus component. |
internal
Package internal is a near copy of https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/90603afc2fe0c44c9398822e4afa3a4e045f4524/receiver/prometheusreceiver/internal A copy was made because the upstream package is internal.
|
Package internal is a near copy of https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/90603afc2fe0c44c9398822e4afa3a4e045f4524/receiver/prometheusreceiver/internal A copy was made because the upstream package is internal. |
Package vcenter provides an otelcol.receiver.vcenter component.
|
Package vcenter provides an otelcol.receiver.vcenter component. |
Package zipkin provides an otelcol.receiver.zipkin component.
|
Package zipkin provides an otelcol.receiver.zipkin component. |