Skip to content

Commit

Permalink
add definition for standard output trace exporter
Browse files Browse the repository at this point in the history
This is mostly a copy of the definition already present for the metrics exporter. It doesn't specify a format for the output itself.

Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten committed Oct 26, 2023
1 parent 082207b commit 59bfe95
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ release.

- Add a new AddLink() operation to Span (experimental).
([#3678](https://github.com/open-telemetry/opentelemetry-specification/pull/3678))
- Add definition for standard output trace exporter.
([#3740](https://github.com/open-telemetry/opentelemetry-specification/pull/3740))

### Metrics

Expand Down
22 changes: 22 additions & 0 deletions specification/trace/sdk_exporters/stdout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!--- Hugo front matter used to generate the website version of this page:
linkTitle: Stdout
--->

# OpenTelemetry Span Exporter - Standard output

**Status**: [Stable](../../document-status.md)

"Standard output" Span Exporter is a [Span
Exporter](../sdk.md#span-exporter) which outputs the metrics to
stdout/console.

[OpenTelemetry SDK](../../overview.md#sdk) authors MAY choose the best idiomatic
name for their language. For example, ConsoleExporter, StdoutExporter,
StreamExporter, etc.

If a language provides a mechanism to automatically configure a
[Span processor](../sdk.md#span-processor) to pair with the associated
exporter (e.g., using the [`OTEL_TRACES_EXPORTER` environment
variable](../../configuration/sdk-environment-variables.md#exporter-selection)), by
default the exporter MUST be paired with a [batching
processor](../sdk.md#batching-processor).

0 comments on commit 59bfe95

Please sign in to comment.