mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-04 09:43:23 +02:00
a2c75c6d78
* Unexport NoopXXX trace types The change unexports the noop implementations and provide the NoopProvider function for user to construct noop providers. Users can access noop tracer and noop spans by using the provider. This change removes the types users should never be directly using from the package. It improves the usability of the API by reducing the API surface to half and helping the user to focus on the canonical APIs. Fixes #1133 * Provide noop tracer and span for internal use * Remove obsolete doc * Use noop span instead of nil * Fix the broken build |
||
---|---|---|
.. | ||
metric/prometheus | ||
otlp | ||
stdout | ||
trace | ||
README.md |
Exporters
Included in this directory are exporters that export both metric and trace telemetry.
- stdout: Writes telemetry to a specified local output as structured JSON.
- otlp: Sends telemetry to an OpenTelemetry collector as OTLP.
Additionally, there are metric and trace only exporters.
Metric Telemetry Only
- prometheus: Exposes metric telemetry as Prometheus metrics.
- test: A development tool when testing the telemetry pipeline.