Skip to content

Commit

Permalink
Merge pull request #113 from Yelp/ZIPKIN-721_remove_100_percent_example
Browse files Browse the repository at this point in the history
Update the docs to remove 100% tracing example
  • Loading branch information
thebostik authored Jun 30, 2021
2 parents d686dcd + 1a8f9f4 commit f8d1916
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Features include:

* Blacklisting specific route/paths from getting traced.

* `zipkin_tracing_percent` to control the percentage of requests getting sampled.
* `zipkin_tracing_percent` to control the percentage of requests getting sampled (starting at, and downstream from, this service).

* Creates `http.uri`, `http.uri.qs`, and `status_code` binary annotations automatically for each trace.

Expand Down
8 changes: 7 additions & 1 deletion docs/source/configuring_zipkin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,17 @@ zipkin.stream_name
zipkin.tracing_percent
~~~~~~~~~~~~~~~~~~~~~~
A number between 0.0 and 100.0 to control how many request calls get sampled.

.. note::
When your service is traced according to the tracing percentage, the
resulting trace will start at your service and will not include any upstream
clients.

Defaults to `0.50`. Example:

.. code-block:: python
'zipkin.tracing_percent': 100.0 # Trace all the calls.
'zipkin.tracing_percent': 1.0 # Increase tracing probability to 1%
zipkin.trace_id_generator
Expand Down

0 comments on commit f8d1916

Please sign in to comment.