]> Untitled Git - lemmy.git/commitdiff
Use doku(skip) for opentelemetry_url config value (ref #2085) (#2091)
authorNutomic <me@nutomic.com>
Mon, 7 Feb 2022 15:39:37 +0000 (15:39 +0000)
committerGitHub <noreply@github.com>
Mon, 7 Feb 2022 15:39:37 +0000 (10:39 -0500)
config/defaults.hjson
crates/utils/src/settings/structs.rs

index 6b3207fde32d3bf73543522f8bb3d7880b45a504..cf8b55731cee23ce5904514bf5f6af2cd2675c5d 100644 (file)
   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"
 }
index 91867f203e27c00d3611cc3ecc803fcd5b08e547..0aaae87ce48e6d471463c5cee598dc405dbf1cc3 100644 (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
   #[default(None)]
-  #[doku(example = "http://localhost:4317")]
+  #[doku(skip)]
   pub opentelemetry_url: Option<String>,
 }