From b1477aa2be74283325cd233d28e896c36de09fe6 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 18 Apr 2024 03:29:46 +0200 Subject: [PATCH] all: replace old https://docs.victoriametrics.com/scrape_config_examples.html url with the new one - https://docs.victoriametrics.com/scrape_config_examples/ --- docs/sd_configs.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/sd_configs.md b/docs/sd_configs.md index 22bb73bb13..f2357d020d 100644 --- a/docs/sd_configs.md +++ b/docs/sd_configs.md @@ -760,7 +760,7 @@ scrape_configs: - "http://central-config-server/targets?type=foobar" ``` -See [these examples](https://docs.victoriametrics.com/scrape_config_examples.html#file-based-target-discovery) on how to configure file-based target discovery. +See [these examples](https://docs.victoriametrics.com/scrape_config_examples/#file-based-target-discovery) on how to configure file-based target discovery. The referred files and urls must contain a list of static configs in one of the following formats: @@ -965,7 +965,7 @@ scrape_configs: # See https://docs.victoriametrics.com/sd_configs/#http-api-client-options ``` -See [these examples](https://docs.victoriametrics.com/scrape_config_examples.html#http-based-target-discovery) on how to configure http-based target discovery. +See [these examples](https://docs.victoriametrics.com/scrape_config_examples/#http-based-target-discovery) on how to configure http-based target discovery. The service at `url` must return JSON response in the following format: @@ -1056,7 +1056,7 @@ scrape_configs: # See https://docs.victoriametrics.com/sd_configs/#http-api-client-options ``` -See [these examples](https://docs.victoriametrics.com/scrape_config_examples.html#kubernetes-target-discovery) on how to discover and scrape Kubernetes targets. +See [these examples](https://docs.victoriametrics.com/scrape_config_examples/#kubernetes-target-discovery) on how to discover and scrape Kubernetes targets. One of the following `role` types can be configured to discover targets: @@ -1496,7 +1496,7 @@ scrape_configs: # : "" ``` -See [these examples](https://docs.victoriametrics.com/scrape_config_examples.html#static-configs) on how to configure scraping for static targets. +See [these examples](https://docs.victoriametrics.com/scrape_config_examples/#static-configs) on how to configure scraping for static targets. ## yandexcloud_sd_configs