From: Nutomic Date: Mon, 7 Feb 2022 15:39:37 +0000 (+0000) Subject: Use doku(skip) for opentelemetry_url config value (ref #2085) (#2091) X-Git-Url: http://these/git/%7B%60%24%7BghostArchiveUrl%7D/static/%7Bsrc%7D?a=commitdiff_plain;h=f1aef631492dc8821cc3a3da527c2734a3de53c5;p=lemmy.git Use doku(skip) for opentelemetry_url config value (ref #2085) (#2091) --- diff --git a/config/defaults.hjson b/config/defaults.hjson index 6b3207fd..cf8b5573 100644 --- a/config/defaults.hjson +++ b/config/defaults.hjson @@ -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" } diff --git a/crates/utils/src/settings/structs.rs b/crates/utils/src/settings/structs.rs index 91867f20..0aaae87c 100644 --- a/crates/utils/src/settings/structs.rs +++ b/crates/utils/src/settings/structs.rs @@ -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, }