-
Notifications
You must be signed in to change notification settings - Fork 8
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
Sampler to be used by the Azure endpoints #195
Sampler to be used by the Azure endpoints #195
Conversation
.until(telemetryDataContainTheHttpCall(wireMockServer)); | ||
|
||
// Non regression test for https://github.com/Azure/azure-sdk-for-java/issues/41040 | ||
Thread.sleep(10_000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a lot of time... You can speed up batch exports by setting quarkus.otel.bsp.schedule.delay=100, or some really tight value for this particular test.
It's probably better to create a new test class for this issue, with a custom test profile, that would set that property for you.
@Override | ||
public AzureEndpointSampler apply(SyntheticCreationalContext<AzureEndpointSampler> context) { | ||
List<String> ingestionUrls = findIngestionUrls(runtimeConfig, quarkusRuntimeConfig); | ||
List<String> statsBeatUrls = Arrays.asList("https://westeurope-5.in.applicationinsights.azure.com/", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can these addresses be retrieved from somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. These are default end points. They are not in the connection string.
Sampler to allow not sending traces for the azure target endpoint