fix integrations config file sample (#20169)
Ilya Mashchenko committed
Apr 24, 2025 at 10:02 UTC
1f00d7d6acb806e499fd8f15d0ec92910f129730
1 file changed
+6
-6
integrations/templates/setup.md
+6
-6
@@ -38,17 +38,17 @@ The configuration file name for this integration is `[[ entry.setup.configuratio
38
Configuration for this specific integration is located in the `[[ entry.setup.configuration.file.section_name ]]` section within that file.
39
[% endif %]
40
41
-[% if entry.plugin_name == 'go.d.plugin' %]
41
+[% if entry.meta.plugin_name == 'go.d.plugin' %]
42
[% include 'setup/sample-go-config.md' %]
43
-[% elif entry.plugin_name == 'python.d.plugin' %]
43
+[% elif entry.meta.plugin_name == 'python.d.plugin' %]
44
[% include 'setup/sample-python-config.md' %]
45
-[% elif entry.plugin_name == 'charts.d.plugin' %]
45
+[% elif entry.meta.plugin_name == 'charts.d.plugin' %]
46
[% include 'setup/sample-charts-config.md' %]
47
-[% elif entry.plugin_name == 'ioping.plugin' %]
47
+[% elif entry.meta.plugin_name == 'ioping.plugin' %]
48
[% include 'setup/sample-charts-config.md' %]
49
-[% elif entry.plugin_name == 'apps.plugin' %]
49
+[% elif entry.meta.plugin_name == 'apps.plugin' %]
50
[% include 'setup/sample-apps-config.md' %]
51
-[% elif entry.plugin_name == 'ebpf.plugin' %]
51
+[% elif entry.meta.plugin_name == 'ebpf.plugin' %]
52
[% include 'setup/sample-netdata-config.md' %]
53
[% elif entry.setup.configuration.file.name == 'netdata.conf' %]
54
[% include 'setup/sample-netdata-config.md' %]