Merge pull request #2085 from LemmyNet/asonix/document-opentelemetry-url

Add comment about opentelemetry_url
This commit is contained in:
Riley 2022-02-04 21:46:38 -06:00 committed by GitHub
commit 51fd3e7f77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -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"
}

View file

@ -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<String>,