@cryptotaxi247 / netdata-1 / commits / 9de8a394d

meta: align left metrics, alerts, and config options (#15749)

Ilya Mashchenko committed Aug 4, 2023 at 19:31 UTC 9de8a394d6116cef39e650d6bf890d40168df4de
3 files changed +6 -6
integrations/templates/alerts.md
+2 -2
@@ -4,8 +4,8 @@
4
5 The following alerts are available:
6
7 -| Alert name | On metric | Description |
8 -|:------------:|:---------:|:-----------:|
7 +| Alert name | On metric | Description |
8 +|:------------|:----------|:------------|
9 [% for alert in entry.alerts %]
10 | [ [[ alert.name ]] ]([[ alert.link ]]) | [[ alert.metric ]] | [[ alert.info ]] |
11 [% endfor %]
integrations/templates/metrics.md
+3 -3
@@ -18,8 +18,8 @@ The scope defines the instance that the metric belongs to. An instance is unique
18 [% if scope.labels %]
19 Labels:
20
21 -| Label | Description |
22 -|:-----------:|:----------------:|
21 +| Label | Description |
22 +|:-----------|:----------------|
23 [% for label in scope.labels %]
24 | [[ label.name ]] | [[ label.description ]] |
25 [% endfor %]
@@ -31,7 +31,7 @@ Metrics:
31
32 | Metric | Dimensions | Unit |[% for a in entry.metrics.availability %] [[ a ]] |[% endfor %]
33
34 -|:------:|:----------:|:----:|[% for a in entry.metrics.availability %]:---:|[% endfor %]
34 +|:------|:----------|:----|[% for a in entry.metrics.availability %]:---:|[% endfor %]
35
36 [% for metric in scope.metrics %]
37 | [[ metric.name ]] | [% for d in metric.dimensions %][[ d.name ]][% if not loop.last %], [% endif %][% endfor %] | [[ metric.unit ]] |[% for a in entry.metrics.availability %] [% if not metric.availability|length or a in metric.availability %]•[% else %] [% endif %] |[% endfor %]
integrations/templates/setup.md
+1 -1
@@ -63,7 +63,7 @@ There is no configuration file.
63 {% details summary="[[ entry.setup.configuration.options.folding.title ]]" %}
64 [% endif %]
65 | Name | Description | Default | Required |
66 -|:----:|:-----------:|:-------:|:--------:|
66 +|:----|:-----------|:-------|:--------:|
67 [% for item in entry.setup.configuration.options.list %]
68 | [[ item.name ]] | [[ item.description ]] | [[ item.default ]] | [[ item.required ]] |
69 [% endfor %]