Use doku(skip) for opentelemetry_url config value (ref #2085) (#2091)

This commit is contained in:
Nutomic 2022-02-07 15:39:37 +00:00 committed by GitHub
parent 51fd3e7f77
commit f1aef63149
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -117,6 +117,4 @@
actor_name_max_length: 20 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). # 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 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"
} }

View file

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