mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-21 20:13:05 +00:00
Add comment about opentelemetry_url
This commit is contained in:
parent
6b1894faf0
commit
6058b11f6e
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