Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[otlp] Update README for UseOtlpExporter & new experimental flag #5452

Merged
merged 17 commits into from
Mar 21, 2024
Prev Previous commit
Next Next commit
Lint.
  • Loading branch information
CodeBlanch committed Mar 19, 2024
commit b5d88d1b79e94d1b722b8518c0d214427c052291
4 changes: 2 additions & 2 deletions src/OpenTelemetry.Exporter.OpenTelemetryProtocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@
* All signals

* `OTEL_DOTNET_EXPERIMENTAL_OTLP_ENABLE_INMEMORY_RETRY`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vishweshbankwar I have questions regarding the name - does it mean later there will be something like "OTLP_ENABLE_ONDISK_RETRY? What's the thinking which leads to the current name instead of OTEL_DOTNET_EXPERIMENTAL_OTLP_ENABLE_RETRY`?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it mean later there will be something like "OTLP_ENABLE_ONDISK_RETRY

That was the thinking. Wanted to have decoupled experimental environment variables.

When we move to stable, I would like it to be OTEL_DOTNET_OTLP_ENABLE_RETRY and define possible values for it like inmemory and disk.


Check failure on line 636 in src/OpenTelemetry.Exporter.OpenTelemetryProtocol/README.md

View workflow job for this annotation

GitHub Actions / lint-md / run-markdownlint

Trailing spaces

src/OpenTelemetry.Exporter.OpenTelemetryProtocol/README.md:636:1 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1] https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md009.md
When set to `true`, it enables in-memory retry for transient errors
encountered while sending telemetry.

Expand All @@ -642,7 +642,7 @@
* Logs

* `OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EVENT_LOG_ATTRIBUTES`

When set to `true`, it enables export of `LogRecord.EventId.Id` as
`logrecord.event.id` and `LogRecord.EventId.Name` as `logrecord.event.name`.
CodeBlanch marked this conversation as resolved.
Show resolved Hide resolved

Expand Down
Loading