From 6058b11f6e5549d599a0b70ba2177d614fb7c63b Mon Sep 17 00:00:00 2001 From: "Aode (lion)" Date: Thu, 3 Feb 2022 16:54:57 -0600 Subject: [PATCH] Add comment about opentelemetry_url --- config/defaults.hjson | 1 + crates/utils/src/settings/structs.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/config/defaults.hjson b/config/defaults.hjson index bdf19142..6b3207fd 100644 --- a/config/defaults.hjson +++ b/config/defaults.hjson @@ -117,5 +117,6 @@ 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 6e66b92d..91867f20 100644 --- a/crates/utils/src/settings/structs.rs +++ b/crates/utils/src/settings/structs.rs @@ -50,6 +50,7 @@ pub struct Settings { #[default(25)] pub http_fetch_retry_limit: i32, + /// 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")] pub opentelemetry_url: Option, -- 2.44.1