Update opentelemetry url info

This commit is contained in:
Aode (Lion) 2021-10-18 23:44:56 -05:00
parent 09a6c5bb07
commit 3fe66129be
2 changed files with 6 additions and 3 deletions

View file

@ -9,7 +9,7 @@ _a simple image hosting service_
## Usage
### Running
```
pict-rs 0.3.0-alpha.29
pict-rs 0.3.0-alpha.39
USAGE:
pict-rs [FLAGS] [OPTIONS] --path <path>
@ -38,7 +38,10 @@ OPTIONS:
--max-image-width <max-image-width>
Specify the maximum width in pixels allowed on an image [env: PICTRS_MAX_IMAGE_WIDTH=] [default: 10000]
-p, --path <path> The path to the data directory, e.g. data/ [env: PICTRS_PATH=]
-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=]
-w, --whitelist <whitelist>...
An optional list of filters to whitelist, supports 'identity', 'thumbnail', and 'blur' [env:
PICTRS_FILTER_WHITELIST=]

View file

@ -79,7 +79,7 @@ pub(crate) struct Config {
short,
long,
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>,
}