Skip to content

Commit

Permalink
Update Exporter README.md (#5318)
Browse files Browse the repository at this point in the history
* Update README.md

* Update exporter/README.md

Update per the PR comments

Co-authored-by: Alex Boten <alex@boten.ca>

* Update exporter/README.md

Update per suggestions from boten

Co-authored-by: Alex Boten <alex@boten.ca>

* Update exporter/README.md

Co-authored-by: Bogdan Drutu <lazy@splunk.com>

Co-authored-by: Alex Boten <alex@boten.ca>
Co-authored-by: Bogdan Drutu <lazy@splunk.com>
  • Loading branch information
3 people authored Jun 6, 2022
1 parent a4289b4 commit a1d4c07
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions exporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ service:
## Data Ownership

When multiple exporters are configured to send the same data (e.g. by configuring multiple
exporters for the same pipeline) the exporters will have a shared access to the data.
Exporters get access to this shared data when `ConsumeTraces`/`ConsumeMetrics`/`ConsumeLogs`
exporters for the same pipeline):
* exporters *not* configured to mutate the data will have shared access to the data
* exporters with the Capabilities to mutate the data will receive a copy of the data
Exporters access export data when `ConsumeTraces`/`ConsumeMetrics`/`ConsumeLogs`
function is called. Exporters MUST NOT modify the `pdata.Traces`/`pdata.Metrics`/`pdata.Logs` argument of
these functions. If the exporter needs to modify the data while performing the exporting
the exporter can clone the data and perform the modification on the clone or use a
Expand Down

0 comments on commit a1d4c07

Please sign in to comment.