add option to record transferred artifacts #1875
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
This adds a
TransferListener
to themaven-extension
so that artifact transfers can be recorded optionally.Existing Issue(s):
See #1874
Testing:
DRAFT: No additional testing has been added yet.
Documentation:
DRAFT: No additional documentation has been added yet.
Outstanding items:
SpanExporter
inOpenTelemetrySdkService
- is see it getting called and filtering, but when I used the Jaeger UI setup (see blog) all spans were unexpectedly shown. The issue appears that the span must be created first (because the transfer events define start and end), but those not matching the thresholds should be ignored, and I don't know how to do that other than with the exporter.