diff --git a/README.md b/README.md index 2c1c0c81c..05345425d 100644 --- a/README.md +++ b/README.md @@ -1603,7 +1603,7 @@ The `-relabelConfig` also can point to http or https url. For example, `-relabel The following docs can be useful in understanding the relabeling: -* [Cookbook for common relabeling tasks](https://docs.victoriametrics.com/relabeling.html). +* [Cookbook for common relabeling tasks](https://docs.victoriametrics.com/relabeling/). * [Relabeling tips and tricks](https://valyala.medium.com/how-to-use-relabeling-in-prometheus-and-victoriametrics-8b90fc22c4b2). The `-relabelConfig` files can contain special placeholders in the form `%{ENV_VAR}`, which are replaced by the corresponding environment variable values. diff --git a/docs/Cluster-VictoriaMetrics.md b/docs/Cluster-VictoriaMetrics.md index 310631a92..91dee6035 100644 --- a/docs/Cluster-VictoriaMetrics.md +++ b/docs/Cluster-VictoriaMetrics.md @@ -106,7 +106,7 @@ http_requests_total{path="/bar",vm_account_id="7",vm_project_id="9"} 34 Then the `http_requests_total{path="/foo"} 12` would be stored in the tenant `accountID=42, projectID=0`, while the `http_requests_total{path="/bar"} 34` would be stored in the tenant `accountID=7, projectID=9`. -The `vm_account_id` and `vm_project_id` labels are extracted after applying the [relabeling](https://docs.victoriametrics.com/relabeling.html) +The `vm_account_id` and `vm_project_id` labels are extracted after applying the [relabeling](https://docs.victoriametrics.com/relabeling/) set via `-relabelConfig` command-line flag, so these labels can be set at this stage. The `vm_account_id` and `vm_project_id` labels are also taken into account when ingesting data via non-http-based protocols @@ -405,7 +405,7 @@ Check practical examples of VictoriaMetrics API [here](https://docs.victoriametr - `api/v1/status/active_queries` - for currently executed active queries. Note that every `vmselect` maintains an independent list of active queries, which is returned in the response. - `api/v1/status/top_queries` - for listing the most frequently executed queries and queries taking the most duration. - - `metric-relabel-debug` - for debugging [relabeling rules](https://docs.victoriametrics.com/relabeling.html). + - `metric-relabel-debug` - for debugging [relabeling rules](https://docs.victoriametrics.com/relabeling/). - URLs for [Graphite Metrics API](https://graphite-api.readthedocs.io/en/latest/api.html#the-metrics-api): `http://:8481/select//graphite/`, where: - `` is an arbitrary number identifying data namespace for query (aka tenant) diff --git a/docs/README.md b/docs/README.md index 491de5b6d..930cf6f3d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1606,7 +1606,7 @@ The `-relabelConfig` also can point to http or https url. For example, `-relabel The following docs can be useful in understanding the relabeling: -* [Cookbook for common relabeling tasks](https://docs.victoriametrics.com/relabeling.html). +* [Cookbook for common relabeling tasks](https://docs.victoriametrics.com/relabeling/). * [Relabeling tips and tricks](https://valyala.medium.com/how-to-use-relabeling-in-prometheus-and-victoriametrics-8b90fc22c4b2). The `-relabelConfig` files can contain special placeholders in the form `%{ENV_VAR}`, which are replaced by the corresponding environment variable values. diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index 1ef7320bb..6ab92f4d4 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -1614,7 +1614,7 @@ The `-relabelConfig` also can point to http or https url. For example, `-relabel The following docs can be useful in understanding the relabeling: -* [Cookbook for common relabeling tasks](https://docs.victoriametrics.com/relabeling.html). +* [Cookbook for common relabeling tasks](https://docs.victoriametrics.com/relabeling/). * [Relabeling tips and tricks](https://valyala.medium.com/how-to-use-relabeling-in-prometheus-and-victoriametrics-8b90fc22c4b2). The `-relabelConfig` files can contain special placeholders in the form `%{ENV_VAR}`, which are replaced by the corresponding environment variable values. diff --git a/docs/scrape_config_examples.md b/docs/scrape_config_examples.md index 649203ac0..26f476b8d 100644 --- a/docs/scrape_config_examples.md +++ b/docs/scrape_config_examples.md @@ -114,8 +114,8 @@ label in all the metrics scraped from the target. can efficiently process tens of thousands of targets in production. If you need scraping more targets, then see [these docs](https://docs.victoriametrics.com/vmagent/#scraping-big-number-of-targets). -Targets are scraped at `http` or `https` urls, which are formed according to [these rules](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets). -It is possible to modify scrape urls via [relabeling](https://docs.victoriametrics.com/relabeling.html) if needed. +Targets are scraped at `http` or `https` urls, which are formed according to [these rules](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets). +It is possible to modify scrape urls via [relabeling](https://docs.victoriametrics.com/relabeling/) if needed. ## File-based target discovery @@ -206,8 +206,8 @@ See [these docs](https://docs.victoriametrics.com/sd_configs/#file_sd_configs) f can efficiently scrape tens of thousands of scrape targets. If you need scraping more targets, then see [these docs](https://docs.victoriametrics.com/vmagent/#scraping-big-number-of-targets). -Targets are scraped at `http` or `https` urls, which are formed according to [these rules](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets). -It is possible to modify scrape urls via [relabeling](https://docs.victoriametrics.com/relabeling.html) if needed. +Targets are scraped at `http` or `https` urls, which are formed according to [these rules](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets). +It is possible to modify scrape urls via [relabeling](https://docs.victoriametrics.com/relabeling/) if needed. ## HTTP-based target discovery diff --git a/docs/sd_configs.md b/docs/sd_configs.md index 7de2ab95d..22bb73bb1 100644 --- a/docs/sd_configs.md +++ b/docs/sd_configs.md @@ -94,7 +94,7 @@ scrape_configs: # See https://docs.victoriametrics.com/sd_configs/#http-api-client-options ``` -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the machine's private IP and the `` is the `port` option specified in the `azure_sd_configs`. @@ -202,7 +202,7 @@ scrape_configs: # See https://docs.victoriametrics.com/sd_configs/#http-api-client-options ``` -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the service address. If the service address is empty, then the node address is used instead. The `` is the service port. @@ -294,7 +294,7 @@ scrape_configs: # See https://docs.victoriametrics.com/sd_configs/#http-api-client-options ``` -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the service address. If the service address is empty, then the node address is used instead. The `` is the service port. @@ -342,7 +342,7 @@ scrape_configs: # See https://docs.victoriametrics.com/sd_configs/#http-api-client-options ``` -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is a public ipv4 address of the droplet, while `` is the port specified in the `digitalocean_sd_configs`. The following meta labels are available on discovered targets during [relabeling](https://docs.victoriametrics.com/vmagent/#relabeling): @@ -391,7 +391,7 @@ scrape_configs: # port: ... ``` -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to the `:`, where `` is the discovered DNS address, while `` is either the discovered port for SRV records or the port specified in the `dns_sd_config`. @@ -440,7 +440,7 @@ scrape_configs: # See https://docs.victoriametrics.com/sd_configs/#http-api-client-options ``` -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the exposed ip address of the docker container, while the `` is either the exposed port of the docker container or the port specified in the `docker_sd_configs` if the docker container has no exposed ports. If a container exposes multiple ip addresses, then multiple targets will be discovered - one per each exposed ip address. @@ -509,7 +509,7 @@ One of the following roles can be configured to discover targets: The `services` role discovers all Swarm services. - Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set + Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the endpoint's virtual IP, while the `` is the published port of the service. If the service has multiple published ports, then multiple targets are generated - one per each port. If the service has no published ports, then the `` is set to the `port` value obtained from `dockerswarm_sd_configs`. @@ -536,7 +536,7 @@ One of the following roles can be configured to discover targets: The `tasks` role discovers all Swarm tasks. - Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set + Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where the `` is the node IP, while the `` is the published port of the task. If the task has multiple published ports, then multiple targets are generated - one per each port. If the task has no published ports, then the `` is set to the `port` value obtained from `dockerswarm_sd_configs`. @@ -577,7 +577,7 @@ One of the following roles can be configured to discover targets: The `nodes` role is used to discover Swarm nodes. - Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set + Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the node IP, while the `` is the `port` value obtained from the `dockerswarm_sd_configs`. Available meta labels for `role: nodes` during [relabeling](https://docs.victoriametrics.com/vmagent/#relabeling): @@ -662,7 +662,7 @@ scrape_configs: # values: ["...", "..."] ``` -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the private IP of the instance, while the `` is set to the `port` value obtain from `ec2_sd_configs`. @@ -711,7 +711,7 @@ scrape_configs: # See https://docs.victoriametrics.com/sd_configs/#http-api-client-options ``` -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the discovered instance hostname, while the `` is the discovered instance port. If the instance has no port, then port 80 is used. @@ -789,7 +789,7 @@ The referred files and urls must contain a list of static configs in one of the ... ``` -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to one of the `target` value specified in the target files. The following meta labels are available on discovered targets during [relabeling](https://docs.victoriametrics.com/vmagent/#relabeling): @@ -845,7 +845,7 @@ Credentials are discovered by looking in the following places, preferring the fi 1. a JSON file in the well-known path `$HOME/.config/gcloud/application_default_credentials.json` 1. fetched from the GCE metadata server -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is private IP of the discovered instance, while `` is the `port` value specified in the `gce_sd_configs`. @@ -907,7 +907,7 @@ scrape_configs: # See https://docs.victoriametrics.com/sd_configs/#http-api-client-options ``` -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where FQDN is discovered instance address and `` is the port from the `hetzner_sd_configs` (default port is `80`). The following meta labels are available on discovered targets during [relabeling](https://docs.victoriametrics.com/vmagent/#relabeling): @@ -985,7 +985,7 @@ The service at `url` must return JSON response in the following format: The `url` is queried periodically with the interval specified in `-promscrape.httpSDCheckInterval` command-line flag. Discovery errors are tracked in `promscrape_discovery_http_errors_total` metric. -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to one of the targets returned by the http service. The following meta labels are available on discovered targets during [relabeling](https://docs.victoriametrics.com/vmagent/#relabeling): @@ -1064,7 +1064,7 @@ One of the following `role` types can be configured to discover targets: The `role: node` discovers one target per cluster node. - Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set + Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is to the first existing address of the Kubernetes node object in the address type order of `NodeInternalIP`, `NodeExternalIP`, `NodeLegacyHostIP` and `NodeHostName`, while `` is the kubelet port on the given node. @@ -1085,7 +1085,7 @@ One of the following `role` types can be configured to discover targets: The `role: service` discovers Kubernetes services. - Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set + Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `.:`, where `` is the service name, `` is the service namespace and `` is the service port. If the service has multiple ports, then multiple targets are discovered for the service - one per each port. @@ -1112,7 +1112,7 @@ One of the following `role` types can be configured to discover targets: The `role: pod` discovers all pods and exposes their containers as targets. - Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set + Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is pod IP, while `` is the exposed container port. If the pod has multiple container ports, then multiple targets are generated for the pod - one per each exposed container port. If the pod has no exposed container ports, then the `__address__` for pod target is set to the pod IP. @@ -1146,7 +1146,7 @@ One of the following `role` types can be configured to discover targets: The `role: endpoints` discovers targets from listed endpoints of a service. - Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set + Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the endpoint address, while `` is the endpoint port. If the endpoint has multiple ports, then a single target per each port is generated. If the endpoint is backed by a pod, all additional container ports of the pod, not bound to an endpoint port, are discovered as targets as well. @@ -1175,7 +1175,7 @@ One of the following `role` types can be configured to discover targets: The `role: endpointslice` discovers targets from existing endpointslices. - Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set + Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the endpoint address, while `` is the endpoint port. If the endpoint has multiple ports, then a single target per each port is generated. If the endpoint is backed by a pod, all additional container ports of the pod, not bound to an endpoint port, are discovered as targets as well. @@ -1204,7 +1204,7 @@ One of the following `role` types can be configured to discover targets: The `role: ingress` discovers a target for each path of each ingress. - Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set + Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to the host obtained from ingress spec. If the ingress has multiple specs with multiple hosts, then a target per each host is created. @@ -1256,7 +1256,7 @@ scrape_configs: The `server` is queried periodically with the interval specified in `-promscrape.kumaSDCheckInterval` command-line flag. Discovery errors are tracked in `promscrape_discovery_kuma_errors_total` metric. -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to one of the targets returned by the http service. The following meta labels are available on discovered targets during [relabeling](https://docs.victoriametrics.com/vmagent/#relabeling): @@ -1312,7 +1312,7 @@ scrape_configs: # See https://docs.victoriametrics.com/sd_configs/#http-api-client-options ``` -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the service address, while `` is the service port. The following meta labels are available on discovered targets during [relabeling](https://docs.victoriametrics.com/vmagent/#relabeling): @@ -1428,7 +1428,7 @@ One of the following `role` types can be configured to discover targets: The `role: hypervisor` discovers one target per Nova hypervisor node. - Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set + Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the discovered node IP, while `` is the port specified in the `openstack_sd_configs`. The following meta labels are available on discovered targets during [relabeling](https://docs.victoriametrics.com/vmagent/#relabeling): @@ -1444,7 +1444,7 @@ One of the following `role` types can be configured to discover targets: The `role: instance` discovers one target per network interface of Nova instance. - Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set + Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to `:`, where `` is the private IP address of the discovered instance, while `` is the port specified in the `openstack_sd_configs`. The following meta labels are available on discovered targets during [relabeling](https://docs.victoriametrics.com/vmagent/#relabeling): @@ -1554,7 +1554,7 @@ scrape_configs: replacement: "$1:9100" ``` -Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling.html#how-to-modify-scrape-urls-in-targets) label set +Each discovered target has an [`__address__`](https://docs.victoriametrics.com/relabeling/#how-to-modify-scrape-urls-in-targets) label set to the FQDN of the discovered instance. The following meta labels are available on discovered targets during [relabeling](https://docs.victoriametrics.com/vmagent/#relabeling): diff --git a/docs/vmagent.md b/docs/vmagent.md index 559f4a812..799713491 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -560,7 +560,7 @@ with [additional enhancements](#relabeling-enhancements). The relabeling can be * At the `scrape_config -> relabel_configs` section in `-promscrape.config` file. This relabeling is used for modifying labels in discovered targets and for dropping unneeded targets. - See [relabeling cookbook](https://docs.victoriametrics.com/relabeling.html) for details. + See [relabeling cookbook](https://docs.victoriametrics.com/relabeling/) for details. This relabeling can be debugged by clicking the `debug` link at the corresponding target on the `http://vmagent:8429/targets` page or on the `http://vmagent:8429/service-discovery` page. See [these docs](#relabel-debug) for details. @@ -568,7 +568,7 @@ with [additional enhancements](#relabeling-enhancements). The relabeling can be * At the `scrape_config -> metric_relabel_configs` section in `-promscrape.config` file. This relabeling is used for modifying labels in scraped metrics and for dropping unneeded metrics. - See [relabeling cookbook](https://docs.victoriametrics.com/relabeling.html) for details. + See [relabeling cookbook](https://docs.victoriametrics.com/relabeling/) for details. This relabeling can be debugged via `http://vmagent:8429/metric-relabel-debug` page. See [these docs](#relabel-debug) for details. @@ -591,7 +591,7 @@ is pefrormed after applying all the relabeling stages mentioned above. The following articles contain useful information about Prometheus relabeling: -* [Cookbook for common relabeling tasks](https://docs.victoriametrics.com/relabeling.html) +* [Cookbook for common relabeling tasks](https://docs.victoriametrics.com/relabeling/) * [How to use Relabeling in Prometheus and VictoriaMetrics](https://valyala.medium.com/how-to-use-relabeling-in-prometheus-and-victoriametrics-8b90fc22c4b2) * [Life of a label](https://www.robustperception.io/life-of-a-label) * [Discarding targets and timeseries with relabeling](https://www.robustperception.io/relabelling-can-discard-targets-timeseries-and-alerts) @@ -1144,10 +1144,10 @@ If you have suggestions for improvements or have found a bug - please open an is * Enabling stream parsing mode if `vmagent` scrapes targets with millions of metrics per target. See [these docs](#stream-parsing-mode). * Reducing the number of tcp connections to remote storage systems with `-remoteWrite.queues` command-line flag. * Passing `-promscrape.dropOriginalLabels` command-line flag to `vmagent` if it [discovers](https://docs.victoriametrics.com/sd_configs/) - big number of targets and many of these targets are [dropped](https://docs.victoriametrics.com/relabeling.html#how-to-drop-discovered-targets) + big number of targets and many of these targets are [dropped](https://docs.victoriametrics.com/relabeling/#how-to-drop-discovered-targets) before scraping. In this case `vmagent` drops `"discoveredLabels"` and `"droppedTargets"` lists at `http://vmagent-host:8429/service-discovery` page. This reduces memory usage when scraping big number of targets at the cost - of reduced debuggability for improperly configured per-target [relabeling](https://docs.victoriametrics.com/relabeling.html). + of reduced debuggability for improperly configured per-target [relabeling](https://docs.victoriametrics.com/relabeling/). * When `vmagent` scrapes many unreliable targets, it can flood the error log with scrape errors. It is recommended investigating and fixing these errors. If it is unfeasible to fix all the reported errors, then they can be suppressed by passing `-promscrape.suppressScrapeErrors` command-line flag to `vmagent`. diff --git a/lib/promrelabel/debug.qtpl b/lib/promrelabel/debug.qtpl index ba50ed85d..9cbfdda62 100644 --- a/lib/promrelabel/debug.qtpl +++ b/lib/promrelabel/debug.qtpl @@ -34,7 +34,7 @@ function submitRelabelDebugForm(e) { {%= htmlcomponents.Navbar() %}
- Relabeling docs{% space %} + Relabeling docs{% space %} {% if targetURL != "" %} Metric relabel debug diff --git a/lib/promrelabel/debug.qtpl.go b/lib/promrelabel/debug.qtpl.go index 7219027c7..0805012c3 100644 --- a/lib/promrelabel/debug.qtpl.go +++ b/lib/promrelabel/debug.qtpl.go @@ -76,7 +76,7 @@ func StreamRelabelDebugStepsHTML(qw422016 *qt422016.Writer, targetURL, targetID //line lib/promrelabel/debug.qtpl:35 htmlcomponents.StreamNavbar(qw422016) //line lib/promrelabel/debug.qtpl:35 - qw422016.N().S(`
Relabeling docs`) + qw422016.N().S(`
Relabeling docs`) //line lib/promrelabel/debug.qtpl:37 qw422016.N().S(` `) //line lib/promrelabel/debug.qtpl:39