class OpenTelemetry::HTTPExporter
- OpenTelemetry::HTTPExporter
- Reference
- Object
Overview
The HTTPExporter
sends your telemetry data to an HTTP service using
OTLP/HTTP.
Included Modules
Defined in:
exporter.crConstructors
-
.new(endpoint : URI, headers : HTTP::Headers)
Configures the exporter to send telemetry to the given HTTP collector for OpenTelemetry data.
Instance Method Summary
- #endpoint : URI
- #headers : HTTP::Headers
-
#trace(traces : Array(Trace))
Send a collection of traces to the exporters trace endpoint
Instance methods inherited from module OpenTelemetry::Exporter
trace(traces : Array(Trace))trace(trace : Trace) trace
Constructor Detail
def self.new(endpoint : URI, headers : HTTP::Headers)
#
Configures the exporter to send telemetry to the given HTTP collector for OpenTelemetry data.
Instance Method Detail
Send a collection of traces to the exporters trace endpoint