0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-05-12 12:42:09 +00:00
netdata_netdata/integrations/README.md
Fotis Voutsas 32a6cd38e7
Capitalize the word "Agent" ()
* Capitalize the word Agent

* yaml -> json

* fix uppercase keys

* json update
2024-11-20 15:27:03 +02:00

26 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

To generate a copy of `integrations.js` locally, you will need:
- Python 3.6 or newer (only tested on Python 3.10 currently, should work
on any version of Python newer than 3.6).
- The following third-party Python modules:
- `jsonschema`
- `referencing`
- `jinja2`
- `ruamel.yaml`
- A local checkout of https://github.com/netdata/netdata
- A local checkout of https://github.com/netdata/go.d.plugin. The script
expects this to be checked out in a directory called `go.d.plugin`
in the root directory of the Agent repo, though a symlink with that
name pointing at the actual location of the repo will work as well.
The first two parts can be easily covered in a Linux environment, such
as a VM or Docker container:
- On Debian or Ubuntu: `apt-get install python3-jsonschema python3-referencing python3-jinja2 python3-ruamel.yaml`
- On Alpine: `apk add py3-jsonschema py3-referencing py3-jinja2 py3-ruamel.yaml`
- On Fedora or RHEL (EPEL is required on RHEL systems): `dnf install python3-jsonschema python3-referencing python3-jinja2 python3-ruamel-yaml`
Once the environment is set up, simply run
`integrations/gen_integrations.py` from the Agent repo. Note that the
script must be run _from this specific location_, as it uses its own
path to figure out where all the files it needs are.