forked from jaegertracing/jaeger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tracegen] Add options to generate more spans and attributes (jaegert…
…racing#4535) ## Short description of the changes Add new configuration options: - `-services`: to generate traces on behalf of many services, by instantiating different tracers - `-spans`: to generate more than one child span - `-attrs`: to generate N number of attributes on each child span - `-attr-values`: to control how many distinct values each attribute can have Fix weird span durations when using `-pause 0s`. Test: ```shell go run ./cmd/tracegen -traces 2 -services 2 -spans 3 -attrs 3 ``` <img width="964" alt="image" src="https://github.com/jaegertracing/jaeger/assets/3523016/3f2d6cee-ab1c-4fef-a016-259aaa7a77b6"> <img width="952" alt="image" src="https://github.com/jaegertracing/jaeger/assets/3523016/44d0f67b-7443-48a9-8b13-95b69841804b"> --------- Signed-off-by: Yuri Shkuro <[email protected]> Signed-off-by: KevinSchneider <[email protected]>
- Loading branch information
1 parent
3ebbe5f
commit 3aec4ff
Showing
3 changed files
with
119 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters