netdata/integrations
Hugo Valente cba771ceea
add features section requested on Okta review (#17531)
2024-04-26 14:59:22 +03:00
..
cloud-authentication add features section requested on Okta review (#17531) 2024-04-26 14:59:22 +03:00
cloud-notifications Regenerate integrations.js (#17446) 2024-04-19 09:35:45 +03:00
schemas add Okta SSO integration (#17351) 2024-04-10 12:00:48 +03:00
templates add Okta SSO integration (#17351) 2024-04-10 12:00:48 +03:00
README.md Add initial tooling for generating integrations.js file. (#15406) 2023-08-01 17:23:16 -04:00
categories.yaml add Okta SSO integration (#17351) 2024-04-10 12:00:48 +03:00
check_collector_metadata.py Add initial tooling for generating integrations.js file. (#15406) 2023-08-01 17:23:16 -04:00
deploy.yaml change get kickstart url to https://get.netdata.cloud/kickstart.sh (#16738) 2024-01-08 18:00:20 +02:00
gen_doc_collector_page.py necessary changes for integrations to work after moving collectors/ i… (#16966) 2024-02-08 11:22:51 +02:00
gen_docs_integrations.py add generic sso authenciation page and SP-initiated SSO on Okta (#17494) 2024-04-23 12:26:21 +00:00
gen_integrations.py Indent generated files (#17423) 2024-04-18 12:01:56 +03:00
integrations.js Regenerate integrations.js (#17505) 2024-04-23 21:27:16 +03:00
integrations.json Regenerate integrations.js (#17505) 2024-04-23 21:27:16 +03:00

README.md

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.