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

Add no-trace on config, test_set and scenario level #35

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

man1207
Copy link
Contributor

@man1207 man1207 commented Dec 12, 2024

  1. Add possibility to define tracer: off in run.yml config

  2. Add possibility to define tracer: off in config.yml at test_set level

  3. Add possibility to define tracer: off in scenario.yml at scenario.yml level

  4. Add description into tracing.md docs

Some examples:
Example 1. Disable tracer on certain scenarios. Set tracer: off on those scenarios where tracing is not needed.
Example 2. Your sipssert consists of multiple test sets. You need to disable tracing in some test set as a whole for all scenarios inside that test set. Set tracer: off in config.yml on test set level. Tracer will be disabled for all scenarios inside that test set.
Example 3. You need to disable tracing on global level. Set tracer: off in run.yml file. Remember, that tracing as a whole will be disabled. No one scenario will be traced even if you force tracer: on in scenario.yml due to global tracing disabling priority

@razvancrainea
Copy link
Member

Amazing, thanks a lot for your contributions!

@razvancrainea razvancrainea merged commit 1cf4653 into OpenSIPS:main Dec 12, 2024
13 checks passed
@man1207 man1207 deleted the feature/no-trace branch December 12, 2024 08: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.

2 participants