Skip to content

Commit 4a79b44

Browse files
committed
docs: localize markdownlint html suppressions
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 5cf2613 commit 4a79b44

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.markdownlint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# Line length is enforced by editorconfig-checker via .editorconfig
22
MD013: false
3-
MD033: false

docs/content/config/config.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,15 @@ When the same property is defined in multiple sources, the following precedence
9898

9999
<!-- markdownlint-enable MD036 -->
100100

101+
<!-- markdownlint-disable MD033 -->
101102
(1) _withExemplars()_ and _withoutExemplars()_ are available for all metric types,
102103
not just for counters<br>
103104
(2) Boolean value. Format: `property=true` or `property=false`.<br>
104105
(3) Comma-separated list. Example: `.005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10`.<br>
105106
(4) Comma-separated list. Example: `0.5, 0.95, 0.99`.<br>
106107
(5) Comma-separated list. If specified, the list must have the same length as
107108
`io.prometheus.metrics.summary_quantiles`. Example: `0.01, 0.005, 0.005`.
109+
<!-- markdownlint-enable MD033 -->
108110

109111
There's one special feature about metric properties: You can set a property for one specific
110112
metric only by specifying the metric name. Example:
@@ -162,11 +164,13 @@ This works for all Metrics properties.
162164

163165
<!-- editorconfig-checker-enable -->
164166

167+
<!-- markdownlint-disable MD033 -->
165168
(1) Comma separated list of allowed metric names. Only these metrics will be exposed.<br/>
166169
(2) Comma separated list of excluded metric names. These metrics will not be exposed.<br/>
167170
(3) Comma separated list of prefixes.
168171
Only metrics starting with these prefixes will be exposed.<br/>
169172
(4) Comma separated list of prefixes. Metrics starting with these prefixes will not be exposed.<br/>
173+
<!-- markdownlint-enable MD033 -->
170174

171175
## Exporter HTTPServer Properties
172176

@@ -197,9 +201,11 @@ Only metrics starting with these prefixes will be exposed.<br/>
197201

198202
<!-- editorconfig-checker-enable -->
199203

204+
<!-- markdownlint-disable MD033 -->
200205
(1) Protocol can be `grpc` or `http/protobuf`.<br>
201206
(2) Format: `key1=value1,key2=value2`<br>
202207
(3) Format: `key1=value1,key2=value2`
208+
<!-- markdownlint-enable MD033 -->
203209

204210
Many of these attributes can alternatively be configured via OpenTelemetry environment variables,
205211
like `OTEL_EXPORTER_OTLP_ENDPOINT`.

0 commit comments

Comments
 (0)