0
0
mirror of https://github.com/netdata/netdata.git synced 2024-12-03 12:31:51 +00:00
netdata_netdata/integrations
Netdata bot a9409ca1be
Regenerate integrations.js (#19088)
Co-authored-by: ilyam8 <22274335+ilyam8@users.noreply.github.com>
2024-11-25 21:31:53 +02:00
..
cloud-authentication Regenerate integrations.js (#18852) 2024-10-23 11:15:00 +03:00
cloud-notifications Regenerate integrations.js (#18771) 2024-10-14 11:39:29 +03:00
logs Regenerate integrations.js (#18834) 2024-10-21 13:41:34 +03:00
schemas Ιmplementation to add logs integrations (#18791) 2024-10-16 14:37:25 +03:00
templates Ιmplementation to add logs integrations (#18791) 2024-10-16 14:37:25 +03:00
categories.yaml add Okta SSO integration (#17351) 2024-04-10 12:00:48 +03:00
check_collector_metadata.py update integrations gen script (#19085) 2024-11-25 21:12:47 +02:00
deploy.yaml claim -> connect in docs (#19060) 2024-11-22 21:25:31 +02:00
gen_doc_collector_page.py update integrations gen script (#19085) 2024-11-25 21:12:47 +02:00
gen_docs_integrations.py update integrations gen script (#19085) 2024-11-25 21:12:47 +02:00
gen_integrations.py update integrations gen script (#19085) 2024-11-25 21:12:47 +02:00
integrations.js Regenerate integrations.js (#19088) 2024-11-25 21:31:53 +02:00
integrations.json Regenerate integrations.js (#19088) 2024-11-25 21:31:53 +02:00
README.md Capitalize the word "Agent" (#19044) 2024-11-20 15:27:03 +02:00

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.