Skip to content

Conversation

@MrAlias
Copy link
Contributor

@MrAlias MrAlias commented May 29, 2020

Changes

  • Add default service config to enable retries for retry-able failed requests.
  • Add option to override this default.
  • Update exporter README.md

Testing

This does not include any testing for the added config. End-to-end testing of the retries is possible to write, but enabling the retries can only be done from the command line. This would mean that tests could not be successfully run without updating all test runs to include this var setting and having all developers set this var at test time. Furthermore, it doesn't seem necessary to test the end-to-end functionality of functionality from a dependency.

The gRPC library does not export its service config validation function either. This means the unique config syntax cannot be tested either. I imagine this will change as service configs become more mature, and we should add testing at that point.

Resolves #561

MrAlias added 9 commits May 21, 2020 09:45
Add information about setup, options, and retries.
Needs to be run `GRPC_GO_RETRY=on go test .` to not fail the failing
tests because retries are not enabled by default, nor can they be
enabled programmatically.
The lack of programmatic enablement of retries means testing is going to
be flaky or cumbersome.
@MrAlias MrAlias added this to the Implement v0.4.0 Specification milestone Jun 2, 2020
@MrAlias MrAlias self-assigned this Jun 2, 2020
@MrAlias MrAlias merged commit cff4ddf into open-telemetry:master Jun 2, 2020
@MrAlias MrAlias deleted the otlp branch June 2, 2020 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OTLP exporter does not comply with throttling and retrying specification

4 participants