summaryrefslogtreecommitdiffstats
path: root/integrations/templates
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:19:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:19:22 +0000
commitc21c3b0befeb46a51b6bf3758ffa30813bea0ff0 (patch)
tree9754ff1ca740f6346cf8483ec915d4054bc5da2d /integrations/templates
parentAdding upstream version 1.43.2. (diff)
downloadnetdata-c21c3b0befeb46a51b6bf3758ffa30813bea0ff0.tar.xz
netdata-c21c3b0befeb46a51b6bf3758ffa30813bea0ff0.zip
Adding upstream version 1.44.3.upstream/1.44.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'integrations/templates')
-rw-r--r--integrations/templates/metrics.md4
-rw-r--r--integrations/templates/setup.md8
2 files changed, 6 insertions, 6 deletions
diff --git a/integrations/templates/metrics.md b/integrations/templates/metrics.md
index d8df98779..8a75d7317 100644
--- a/integrations/templates/metrics.md
+++ b/integrations/templates/metrics.md
@@ -1,7 +1,7 @@
[% if entry.metrics.scopes %]
## Metrics
-[% if entry.metrics.folding.enabled %]
+[% if entry.metrics.folding.enabled and not clean %]
{% details summary="[[ entry.metrics.folding.title ]]" %}
[% endif %]
Metrics grouped by *scope*.
@@ -39,7 +39,7 @@ Metrics:
[% endfor %]
[% endfor %]
-[% if entry.metrics.folding.enabled %]
+[% if entry.metrics.folding.enabled and not clean %]
{% /details %}
[% endif %]
[% else %]
diff --git a/integrations/templates/setup.md b/integrations/templates/setup.md
index e2318ed85..1f15c1da3 100644
--- a/integrations/templates/setup.md
+++ b/integrations/templates/setup.md
@@ -59,7 +59,7 @@ There is no configuration file.
[[ entry.setup.configuration.options.description ]]
[% if entry.setup.configuration.options.list %]
-[% if entry.setup.configuration.options.folding.enabled %]
+[% if entry.setup.configuration.options.folding.enabled and not clean %]
{% details summary="[[ entry.setup.configuration.options.folding.title ]]" %}
[% endif %]
| Name | Description | Default | Required |
@@ -76,7 +76,7 @@ There is no configuration file.
[% endif %]
[% endfor %]
-[% if entry.setup.configuration.options.folding.enabled %]
+[% if entry.setup.configuration.options.folding.enabled and not clean %]
{% /details %}
[% endif %]
[% elif not entry.setup.configuration.options.description %]
@@ -91,13 +91,13 @@ There are no configuration options.
[[ example.description ]]
-[% if example.folding.enabled %]
+[% if example.folding.enabled and not clean %]
{% details summary="[[ entry.setup.configuration.examples.folding.title ]]" %}
[% endif %]
```yaml
[[ example.config ]]
```
-[% if example.folding.enabled %]
+[% if example.folding.enabled and not clean %]
{% /details %}
[% endif %]
[% endfor %]