Documentation ¶
Overview ¶
Package elastic contains an OTLP exporter for Elastic APM.
Package elastic contains an opentelemetry-collector exporter for Elastic APM.
Package elastic contains an opentelemetry-collector exporter for Elastic APM.
Package elastic contains an opentelemetry-collector exporter for Elastic APM.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeMetrics ¶ added in v0.12.0
func EncodeMetrics(otlpMetrics pdata.MetricSlice, otlpLibrary pdata.InstrumentationLibrary, w *fastjson.Writer) (dropped int, _ error)
EncodeMetrics encodes an OpenTelemetry metrics slice, and instrumentation library information, as one or more metricset lines, writing to w.
TODO(axw) otlpLibrary is currently not used. We should consider recording it as metadata.
func EncodeResourceMetadata ¶
EncodeResourceMetadata encodes a metadata line from resource, writing to w.
func EncodeSpan ¶
func EncodeSpan(otlpSpan pdata.Span, otlpLibrary pdata.InstrumentationLibrary, w *fastjson.Writer) error
EncodeSpan encodes an OpenTelemetry span, and instrumentation library information, as a transaction or span line, writing to w.
TODO(axw) otlpLibrary is currently not used. We should consider recording it as metadata.
Types ¶
This section is empty.