Std.App.Otlp.Exporter
type
ExporterThis declaration introduces a public type.
What it does
Where finished spans are sent, and what to call the service that made them.
A trace is only worth recording if somebody can read it, and nothing in
`Std.App.Trace` sends one anywhere: it decides what a span is and how a
trace travels between services, which is the hard half, and leaves the
spans in the program that made them.
This is the other half. Spans are sent to a collector in the format every
collector accepts, so what receives them is a choice made in a
configuration file rather than in the program: an OpenTelemetry collector,
or anything that has agreed to look like one.
JSON over HTTP rather than protocol buffers over gRPC. Both are defined by
the same specification and every collector reads both; the difference is
that one of them can be read by a person looking at a request, which
matters far more while a service is being wired up than the bytes it saves
afterwards.
Read the signature
- This declaration has no value signature because it introduces a type or trait.
