summaryrefslogtreecommitdiffstats
path: root/integrations/templates
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:19:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:20:02 +0000
commit58daab21cd043e1dc37024a7f99b396788372918 (patch)
tree96771e43bb69f7c1c2b0b4f7374cb74d7866d0cb /integrations/templates
parentReleasing debian version 1.43.2-1. (diff)
downloadnetdata-58daab21cd043e1dc37024a7f99b396788372918.tar.xz
netdata-58daab21cd043e1dc37024a7f99b396788372918.zip
Merging upstream version 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 %]