From f1aef631492dc8821cc3a3da527c2734a3de53c5 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Mon, 7 Feb 2022 15:39:37 +0000 Subject: [PATCH] Use doku(skip) for opentelemetry_url config value (ref #2085) (#2091) --- config/defaults.hjson | 2 -- crates/utils/src/settings/structs.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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, } -- 2.44.1