Skip to content

Commit 3a5b5c8

Browse files
committed
use // not # for comments in alloy config
Fixes: e86690f
1 parent b6d5525 commit 3a5b5c8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

puppet/modules/profiles/templates/monitoring/alloy-config.epp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ logging {
99
}
1010

1111
prometheus.exporter.unix "default" {
12-
# we don't use it, but it produces log entries
12+
// we don't use it, but it produces log entries
1313
disable_collectors = ["zfs"]
1414

1515
textfile {
1616
directory = "/var/lib/prometheus/node-exporter/"
1717
}
1818

19-
# ignore virtual devices from libvirt, docker and friends
19+
// ignore virtual devices from libvirt, docker and friends
2020
netclass {
2121
ignored_devices = "^(vnet.*|veth.*|cali.*|[a-f0-9]{15})$"
2222
}
@@ -25,7 +25,7 @@ prometheus.exporter.unix "default" {
2525
device_exclude = "^(vnet.*|veth.*|cali.*|[a-f0-9]{15})$"
2626
}
2727

28-
# add "tmpfs" to the default exclude
28+
// add "tmpfs" to the default exclude
2929
filesystem {
3030
fs_types_exclude = "^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|tmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$"
3131
}

0 commit comments

Comments
 (0)