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

Exposed sampling manifest URL for testing #149

Merged
merged 6 commits into from
May 21, 2020

Conversation

willarmiros
Copy link
Contributor

Description of changes:
Add a method to retrieve the URL of the sampling manifest file being used by the recorder's sampling strategy. This can be used for testing, e.g. to verify the expected sampling file is being used. Currently there is no way of knowing this information.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@anuraaga anuraaga left a comment

Choose a reason for hiding this comment

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

Feel like adding a test too to show where these methods would be useful?

@@ -1,5 +1,7 @@
package com.amazonaws.xray.strategy.sampling;

import java.net.URL;
Copy link
Contributor

Choose a reason for hiding this comment

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

Unused

@willarmiros willarmiros merged commit 2a14f0c into aws:master May 21, 2020
@willarmiros willarmiros deleted the expose-sampling branch May 21, 2020 20:01
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.

None yet

2 participants