mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-10 06:25:00 +00:00
Update opentelemetry url info
This commit is contained in:
parent
09a6c5bb07
commit
3fe66129be
2 changed files with 6 additions and 3 deletions
|
@ -9,7 +9,7 @@ _a simple image hosting service_
|
||||||
## Usage
|
## Usage
|
||||||
### Running
|
### Running
|
||||||
```
|
```
|
||||||
pict-rs 0.3.0-alpha.29
|
pict-rs 0.3.0-alpha.39
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
pict-rs [FLAGS] [OPTIONS] --path <path>
|
pict-rs [FLAGS] [OPTIONS] --path <path>
|
||||||
|
@ -38,6 +38,9 @@ OPTIONS:
|
||||||
--max-image-width <max-image-width>
|
--max-image-width <max-image-width>
|
||||||
Specify the maximum width in pixels allowed on an image [env: PICTRS_MAX_IMAGE_WIDTH=] [default: 10000]
|
Specify the maximum width in pixels allowed on an image [env: PICTRS_MAX_IMAGE_WIDTH=] [default: 10000]
|
||||||
|
|
||||||
|
-o, --opentelemetry-url <opentelemetry-url>
|
||||||
|
Enable OpenTelemetry Tracing exports to the given OpenTelemetry collector [env: PICTRS_OPENTELEMETRY_URL=]
|
||||||
|
|
||||||
-p, --path <path> The path to the data directory, e.g. data/ [env: PICTRS_PATH=]
|
-p, --path <path> The path to the data directory, e.g. data/ [env: PICTRS_PATH=]
|
||||||
-w, --whitelist <whitelist>...
|
-w, --whitelist <whitelist>...
|
||||||
An optional list of filters to whitelist, supports 'identity', 'thumbnail', and 'blur' [env:
|
An optional list of filters to whitelist, supports 'identity', 'thumbnail', and 'blur' [env:
|
||||||
|
|
|
@ -79,7 +79,7 @@ pub(crate) struct Config {
|
||||||
short,
|
short,
|
||||||
long,
|
long,
|
||||||
env = "PICTRS_OPENTELEMETRY_URL",
|
env = "PICTRS_OPENTELEMETRY_URL",
|
||||||
help = "Enable json logging for the pict-rs server"
|
help = "Enable OpenTelemetry Tracing exports to the given OpenTelemetry collector"
|
||||||
)]
|
)]
|
||||||
opentelemetry_url: Option<Url>,
|
opentelemetry_url: Option<Url>,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue