Skip to content

Add smoke test for snapshot profiler#2249

Merged
laurit merged 2 commits intosignalfx:mainfrom
laurit:snapshot-profiler-smoke-test
Apr 2, 2025
Merged

Add smoke test for snapshot profiler#2249
laurit merged 2 commits intosignalfx:mainfrom
laurit:snapshot-profiler-smoke-test

Conversation

@laurit
Copy link
Copy Markdown
Collaborator

@laurit laurit commented Mar 25, 2025

Copied from the existing profiler smoke test. cc @tduncan

@laurit laurit requested review from a team as code owners March 25, 2025 08:59
logger.info("Petclinic has been started.");

try {
generateSomeSpans();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Given the random nature of selecting traces for snapshotting it may be necessary to continuously send requests. With this setup we should expect 2 traces to be selected, but there will definitely be iterations where 0 of the 200 traces are selected.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I increased the selection rate and iteration count.

@laurit laurit merged commit 7bb828a into signalfx:main Apr 2, 2025
26 checks passed
@laurit laurit deleted the snapshot-profiler-smoke-test branch April 2, 2025 08:21
@github-actions github-actions bot locked and limited conversation to collaborators Apr 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants