Skip to content

Commit

Permalink
Merge pull request #14 from docuteam/restructure-netdata-conf-templat…
Browse files Browse the repository at this point in the history
…e-according-to-official-docs

Restructure netdata.conf template according to official docs
  • Loading branch information
andyundso authored Apr 11, 2024
2 parents 3206fe0 + c7de1f1 commit d78851a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions templates/netdata.conf.j2
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# SOURCE: https://github.com/netdata/netdata/blob/8c84a6241ba89cd10b257ca37b442cf358ac7597/src/daemon/config/README.md
[global]
update every = 15
memory mode = none
{% if netdata_hostname != "auto-detected" %}
hostname = {{ netdata_hostname }}
{% endif %}

[db]
update every = 15
mode = none

# SOURCE: https://github.com/netdata/netdata/blob/8c84a6241ba89cd10b257ca37b442cf358ac7597/src/web/server/README.md
[web]
mode = none

# SOURCE: https://github.com/netdata/netdata/blob/8c84a6241ba89cd10b257ca37b442cf358ac7597/src/registry/README.md
[registry]
enabled = no
registry to announce = {{ netdata_registry_to_announce | mandatory }}
Expand Down

0 comments on commit d78851a

Please sign in to comment.