mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-10 06:54:12 +00:00
Merge pull request #2085 from LemmyNet/asonix/document-opentelemetry-url
Add comment about opentelemetry_url
This commit is contained in:
commit
51fd3e7f77
2 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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>,
|
||||
|
|
Loading…
Reference in a new issue