mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-24 11:51:32 +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
|
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