From: Aode (lion) Date: Thu, 3 Feb 2022 22:54:57 +0000 (-0600) Subject: Add comment about opentelemetry_url X-Git-Url: http://these/git/%7B%60/feeds/static/readmes/%7Bpost.url%7D?a=commitdiff_plain;h=6058b11f6e5549d599a0b70ba2177d614fb7c63b;p=lemmy.git Add comment about opentelemetry_url --- 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,