docs/managed-victoriametrics: use webp format to reduce image size (#5206)
16
README.md
|
@ -2524,6 +2524,22 @@ Files included in each folder:
|
||||||
* Do not change the proportions for any of the design elements or the design itself.
|
* Do not change the proportions for any of the design elements or the design itself.
|
||||||
You may resize as needed but must retain all proportions.
|
You may resize as needed but must retain all proportions.
|
||||||
|
|
||||||
|
### Images in documentation
|
||||||
|
|
||||||
|
* Images should have `.webp` format
|
||||||
|
|
||||||
|
When documentation in the `docs` folder updated and some content should have images
|
||||||
|
those images can be added in format `.png`, `jpeg` or `jpg`.
|
||||||
|
|
||||||
|
When content is finished and it is ready to be pushed to the repository all images should be converted
|
||||||
|
to the `.webp` format via
|
||||||
|
`PATH_TO_IMAGES=path/to/images IMAGES_EXTENSION=image_extension IMAGE_QUALITY=image_quality make docs-change-images`
|
||||||
|
|
||||||
|
All images quality set to `IMAGE_QUALITY` but it just reduce the size of image, but not the display quality
|
||||||
|
This command will reduce all images with extionsion and folder defined in the command.
|
||||||
|
All images with defined extensions will be removed.
|
||||||
|
After that it is nesessary to update src attribute for image tag
|
||||||
|
|
||||||
## List of command-line flags
|
## List of command-line flags
|
||||||
|
|
||||||
Pass `-help` to VictoriaMetrics in order to see the list of supported command-line flags with their description:
|
Pass `-help` to VictoriaMetrics in order to see the list of supported command-line flags with their description:
|
||||||
|
|
|
@ -20,3 +20,16 @@ docs-up-docker:
|
||||||
-p 4000:4000 \
|
-p 4000:4000 \
|
||||||
-v $(PWD):/srv/jekyll \
|
-v $(PWD):/srv/jekyll \
|
||||||
jekyll/jekyll:3.8 jekyll serve --livereload
|
jekyll/jekyll:3.8 jekyll serve --livereload
|
||||||
|
|
||||||
|
docs-images-to-webp:
|
||||||
|
docker run -it --rm -v \
|
||||||
|
$(PWD)/$(PATH_TO_IMAGES):/data \
|
||||||
|
elswork/cwebp \
|
||||||
|
find ./ -type f -name '*.$(IMAGES_EXTENSION)' -exec sh -c 'cwebp -q ${IMAGE_QUALITY} -m 6 $$1 -o "$${1%.png}.webp"' _ {} \;
|
||||||
|
|
||||||
|
docs-remove-old-images:
|
||||||
|
rm -f $(PWD)/$(PATH_TO_IMAGES)/*.$(IMAGES_EXTENSION)
|
||||||
|
|
||||||
|
docs-change-images: \
|
||||||
|
docs-images-to-webp \
|
||||||
|
docs-remove-old-images
|
||||||
|
|
Before Width: | Height: | Size: 219 KiB |
After Width: | Height: | Size: 43 KiB |
|
@ -13,7 +13,7 @@ aliases:
|
||||||
|
|
||||||
This guide explains the different ways in which you can use vmalert in conjunction with Managed VictoriaMetrics
|
This guide explains the different ways in which you can use vmalert in conjunction with Managed VictoriaMetrics
|
||||||
|
|
||||||
<img src="alerting-vmalert-managed-victoria-metrics-setup.png">
|
<img src="alerting-vmalert-managed-victoria-metrics-setup.webp">
|
||||||
|
|
||||||
## Preconditions
|
## Preconditions
|
||||||
|
|
||||||
|
@ -55,14 +55,14 @@ For instructions on how to create tokens, please refer to this section of the [d
|
||||||
|
|
||||||
#### Single-Node
|
#### Single-Node
|
||||||
|
|
||||||
<img src="alerting_token_created_single.png">
|
<img src="alerting_token_created_single.webp">
|
||||||
<img src="alerting_copy_datasource_single.png">
|
<img src="alerting_copy_datasource_single.webp">
|
||||||
|
|
||||||
#### Cluster
|
#### Cluster
|
||||||
|
|
||||||
<img src="alerting_token_created_cluster.png">
|
<img src="alerting_token_created_cluster.webp">
|
||||||
<img src="alerting_copy_reading_datasource_cluster.png">
|
<img src="alerting_copy_reading_datasource_cluster.webp">
|
||||||
<img src="alerting_copy_writing_datasource_cluster.png">
|
<img src="alerting_copy_writing_datasource_cluster.webp">
|
||||||
|
|
||||||
### vmalert configuration
|
### vmalert configuration
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 201 KiB |
After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 205 KiB |
After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 283 KiB |
After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 213 KiB |
BIN
docs/managed-victoriametrics/alerting_token_created_cluster.webp
Normal file
After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 214 KiB |
BIN
docs/managed-victoriametrics/alerting_token_created_single.webp
Normal file
After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 128 KiB |
BIN
docs/managed-victoriametrics/change_payment_confirmation.webp
Normal file
After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 112 KiB |
BIN
docs/managed-victoriametrics/change_payment_method.webp
Normal file
After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 138 KiB |
BIN
docs/managed-victoriametrics/change_payment_method_success.webp
Normal file
After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 128 KiB |
BIN
docs/managed-victoriametrics/create_deployment_active_email.webp
Normal file
After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 892 KiB |
BIN
docs/managed-victoriametrics/create_deployment_created.webp
Normal file
After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 1.3 MiB |
BIN
docs/managed-victoriametrics/create_deployment_form.webp
Normal file
After Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 638 KiB |
BIN
docs/managed-victoriametrics/create_deployment_start.webp
Normal file
After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 764 KiB |
BIN
docs/managed-victoriametrics/deployment_access.webp
Normal file
After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 1.3 MiB |
BIN
docs/managed-victoriametrics/deployment_access_read_example.webp
Normal file
After Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 73 KiB |
|
@ -46,7 +46,7 @@ Install the Helm chart in a custom namespace
|
||||||
```
|
```
|
||||||
</div>
|
</div>
|
||||||
You can find your access token on the "Access" tab of your deployment
|
You can find your access token on the "Access" tab of your deployment
|
||||||
<img src="kubernetes_monitoring.png" width="800">
|
<img src="kubernetes_monitoring.webp" width="800">
|
||||||
1. Set up a Helm repository using the following commands:
|
1. Set up a Helm repository using the following commands:
|
||||||
<div class="with-copy" markdown="1">
|
<div class="with-copy" markdown="1">
|
||||||
```bash
|
```bash
|
||||||
|
@ -129,7 +129,7 @@ Connect to grafana and create your datasource
|
||||||
Choose VictoriaMetrics or Prometheus as datasource type. Make sure you made this datasource as default for dashboards to work.
|
Choose VictoriaMetrics or Prometheus as datasource type. Make sure you made this datasource as default for dashboards to work.
|
||||||
> You can find token and URL in your deployment, on Access tab
|
> You can find token and URL in your deployment, on Access tab
|
||||||
|
|
||||||
<img src="how-to-monitor-k8s_datasource.png" width="800">
|
<img src="how-to-monitor-k8s_datasource.webp" width="800">
|
||||||
|
|
||||||
## Test it
|
## Test it
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 269 KiB |
BIN
docs/managed-victoriametrics/how-to-monitor-k8s_datasource.webp
Normal file
After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 880 KiB |
After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 130 KiB |
After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 133 KiB |
After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 762 KiB |
After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 784 KiB |
BIN
docs/managed-victoriametrics/kubernetes_monitoring.webp
Normal file
After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 1.3 MiB |
BIN
docs/managed-victoriametrics/modify_deployment.webp
Normal file
After Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 424 KiB |
BIN
docs/managed-victoriametrics/notifications_email_test.webp
Normal file
After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 270 KiB |
BIN
docs/managed-victoriametrics/notifications_save_and_test.webp
Normal file
After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 307 KiB |
BIN
docs/managed-victoriametrics/notifications_save_success.webp
Normal file
After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 37 KiB |
BIN
docs/managed-victoriametrics/notifications_setup_emails.webp
Normal file
After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 48 KiB |
BIN
docs/managed-victoriametrics/notifications_setup_slack.webp
Normal file
After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 253 KiB |
BIN
docs/managed-victoriametrics/notifications_slack_test.webp
Normal file
After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 1.3 MiB |
BIN
docs/managed-victoriametrics/notifications_view.webp
Normal file
After Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 79 KiB |
BIN
docs/managed-victoriametrics/quick_start_restore_password.webp
Normal file
After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 157 KiB |
After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 97 KiB |
After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 507 KiB |
After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 582 KiB |
After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 230 KiB |
BIN
docs/managed-victoriametrics/quick_start_signup.webp
Normal file
After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 213 KiB |
After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 200 KiB |
After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 149 KiB |
After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 840 KiB |
After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 10 KiB |