From b84f791b36747e141c5c148261fa717a07eb9449 Mon Sep 17 00:00:00 2001 From: Sebastian Choren Date: Thu, 8 Feb 2024 12:20:17 -0300 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index dc10074..7c52688 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,15 @@ tracegen -s 10 -n 30 start tracegen -s 10 -n 30 -p 9095 serve ``` +## Usage + +- `-n` specifies the total amount of spans generated for the trace +- `-s` specifices amoung how many services will the `n` spans be distributed. + each `service` is reflected as a distinct `service.name` attribute in the span. + This value should be equal or larger than `n` + + + ## Example of trace Viewed on [Tracetest](https://app.tracetest.io) ![image](https://github.com/mathnogueira/tracegen/assets/2704737/20bd1735-6db3-4a03-8bc7-8a4960723c72)