Skip to content

Commit

Permalink
Make documentation of Builder::dynamic_label clearer on how to keep u…
Browse files Browse the repository at this point in the history
…sing open categories.
  • Loading branch information
TED-996 committed Jan 28, 2024
1 parent 078701c commit dca164f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,10 @@ impl Builder {
/// values. For example, `"environment"` with values `"ci"`,
/// `"development"`, `"staging"` or `"production"` would work well.
///
/// For open categories, extra fields are a better fit. See
/// [`Builder::extra_field`].
///
/// For open categories, simple fields are a better fit. If you don't register
/// your tracing fields as dynamic labels using this method,
/// they will be sent as simple fields.
///
/// # Example
///
/// ```
Expand Down

0 comments on commit dca164f

Please sign in to comment.