Skip to content

Commit

Permalink
Use doku(skip) for opentelemetry_url config value (ref #2085) (#2091)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutomic authored Feb 7, 2022
1 parent 51fd3e7 commit f1aef63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions config/defaults.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,4 @@
actor_name_max_length: 20
# Maximum number of HTTP requests allowed to handle a single incoming activity (or a single object fetch through the search).
http_fetch_retry_limit: 25
# Set the URL for opentelemetry exports. If you do not have an opentelemetry collector, do not set this option
opentelemetry_url: "http://localhost:4317"
}
2 changes: 1 addition & 1 deletion crates/utils/src/settings/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub struct Settings {

/// Set the URL for opentelemetry exports. If you do not have an opentelemetry collector, do not set this option
#[default(None)]
#[doku(example = "http://localhost:4317")]
#[doku(skip)]
pub opentelemetry_url: Option<String>,
}

Expand Down

0 comments on commit f1aef63

Please sign in to comment.