Skip to content

Commit

Permalink
fix CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Nov 11, 2024
1 parent 8c5af06 commit ec135dd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions specification/protocol/file-exporter.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Currently, it only describes the serialization of OpenTelemetry data to the OTLP

## Table of Contents

- [Use Cases](#use-cases)
- [Exporter configuration](#exporter-configuration)
- [Programmatic configuration](#programmatic-configuration)
- [JSON File serialization](#json-file-serialization)
Expand All @@ -22,6 +23,17 @@ Currently, it only describes the serialization of OpenTelemetry data to the OTLP
- [Telemetry data requirements](#telemetry-data-requirements)
- [Examples](#examples)

## Use Cases

Why do we need a file exporter - why not just use the OTLP exporter?

- *Faas*: In a FaaS environment, the OTLP exporter may not be able to send data to a collector.
- *Consistent log scraping from pods*: In a Kubernetes environment, logs are often scraped from the stdout pod file.
This exporter can be used to write logs to stdout - which makes it easier to integrate with existing log scraping tools.
Existing solutions add metadata, such as the trace ID, to the log line,
which needs manual configuration and is error-prone.
- *Reliability*: Writing to a file is more reliable than sending data over the network.

## Exporter configuration

The metric exporter MUST support the environment variables defined in the
Expand Down

0 comments on commit ec135dd

Please sign in to comment.