From 13b9a2cfc11dd5ecb9f4755bed4e4495d36d6db2 Mon Sep 17 00:00:00 2001 From: Andrii Chubatiuk Date: Thu, 18 Jul 2024 12:50:49 +0300 Subject: [PATCH] Code tooltip updates (#6657) ### Describe Your Changes recently added custom `promtextmetric` and `influxtextmetric` prismjs plugins to vmdocs to convert this Screenshot 2024-07-17 at 12 13 29 to this Screenshot 2024-07-17 at 12 24 34 ### Checklist The following checks are **mandatory**: - [ ] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/). --- docs/README.md | 4 ++-- docs/Single-server-VictoriaMetrics.md | 4 ++-- docs/stream-aggregation.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/README.md b/docs/README.md index c55284b318..9f30f7139a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -617,13 +617,13 @@ VictoriaMetrics performs the following transformations to the ingested InfluxDB For example, the following InfluxDB line: -```raw +```influxtextmetric foo,tag1=value1,tag2=value2 field1=12,field2=40 ``` is converted into the following Prometheus data points: -```raw +```promtextmetric foo_field1{tag1="value1", tag2="value2"} 12 foo_field2{tag1="value1", tag2="value2"} 40 ``` diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index 3444306070..70490f7973 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -625,13 +625,13 @@ VictoriaMetrics performs the following transformations to the ingested InfluxDB For example, the following InfluxDB line: -```raw +```influxtextmetric foo,tag1=value1,tag2=value2 field1=12,field2=40 ``` is converted into the following Prometheus data points: -```raw +```promtextmetric foo_field1{tag1="value1", tag2="value2"} 12 foo_field2{tag1="value1", tag2="value2"} 40 ``` diff --git a/docs/stream-aggregation.md b/docs/stream-aggregation.md index 9d57c5cfe2..a3d3e10294 100644 --- a/docs/stream-aggregation.md +++ b/docs/stream-aggregation.md @@ -1032,7 +1032,7 @@ specified individually per each `-remoteWrite.url`: # match also can contain a list of series selectors. Then the incoming samples are aggregated # if they match at least a single series selector. # -- match: 'http_request_duration_seconds_bucket{env=~"prod|staging"}' + match: 'http_request_duration_seconds_bucket{env=~"prod|staging"}' # interval is the interval for the aggregation. # The aggregated stats is sent to remote storage once per interval.