mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-21 22:27:08 +00:00
Add comment about opentelemetry_url
This commit is contained in:
parent
6b1894faf0
commit
6058b11f6e
|
@ -117,5 +117,6 @@
|
||||||
actor_name_max_length: 20
|
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).
|
# 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
|
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"
|
opentelemetry_url: "http://localhost:4317"
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,7 @@ pub struct Settings {
|
||||||
#[default(25)]
|
#[default(25)]
|
||||||
pub http_fetch_retry_limit: i32,
|
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)]
|
#[default(None)]
|
||||||
#[doku(example = "http://localhost:4317")]
|
#[doku(example = "http://localhost:4317")]
|
||||||
pub opentelemetry_url: Option<String>,
|
pub opentelemetry_url: Option<String>,
|
||||||
|
|
Loading…
Reference in a new issue