Skip to content

Commit

Permalink
Move collectors/ under src/ (netdata#16965)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkalintiris authored Feb 8, 2024
1 parent e9760b4 commit e0ec104
Show file tree
Hide file tree
Showing 779 changed files with 1,032 additions and 1,032 deletions.
14 changes: 7 additions & 7 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
.github/ @Ferroin @tkatsoulas
src/aclk/ @stelfrag
contrib/debian @Ferroin @tkatsoulas
collectors/ @thiagoftsm
collectors/ebpf.plugin/ @thiagoftsm
collectors/charts.d.plugin/ @ilyam8 @Ferroin
collectors/freebsd.plugin/ @thiagoftsm
collectors/macos.plugin/ @thiagoftsm
collectors/python.d.plugin/ @ilyam8
collectors/cups.plugin/ @thiagoftsm
src/collectors/ @thiagoftsm
src/collectors/ebpf.plugin/ @thiagoftsm
src/collectors/charts.d.plugin/ @ilyam8 @Ferroin
src/collectors/freebsd.plugin/ @thiagoftsm
src/collectors/macos.plugin/ @thiagoftsm
src/collectors/python.d.plugin/ @ilyam8
src/collectors/cups.plugin/ @thiagoftsm
src/exporting/ @thiagoftsm
src/daemon/ @thiagoftsm @vkalintiris
src/database/ @thiagoftsm @vkalintiris
Expand Down
6 changes: 3 additions & 3 deletions .github/codeql/python-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ paths-ignore:
- ml/json
- tests/api
- web/gui
- collectors/python.d.plugin/python_modules/pyyaml*
- collectors/python.d.plugin/python_modules/third_party
- collectors/python.d.plugin/python_modules/urllib3
- src/collectors/python.d.plugin/python_modules/pyyaml*
- src/collectors/python.d.plugin/python_modules/third_party
- src/collectors/python.d.plugin/python_modules/urllib3
48 changes: 24 additions & 24 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,145 +74,145 @@ area/collectors:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/**
- src/collectors/**

collectors/plugins.d:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/plugins.d/**
- src/collectors/plugins.d/**

collectors/apps:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/apps.plugin/**
- src/collectors/apps.plugin/**

collectors/cgroups:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/cgroups.plugin/**
- src/collectors/cgroups.plugin/**

collectors/charts.d:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/charts.d.plugin/**
- src/collectors/charts.d.plugin/**

collectors/cups:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/cups.plugin/**
- src/collectors/cups.plugin/**

collectors/debugfs:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/debugfs.plugin/**
- src/collectors/debugfs.plugin/**

collectors/diskspace:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/diskspace.plugin/**
- src/collectors/diskspace.plugin/**

collectors/ebpf:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/ebpf.plugin/**
- src/collectors/ebpf.plugin/**

collectors/freebsd:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/freebsd.plugin/**
- src/collectors/freebsd.plugin/**

collectors/freeipmi:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/freeipmi.plugin/**
- src/collectors/freeipmi.plugin/**

collectors/idlejitter:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/idlejitter.plugin/**
- src/collectors/idlejitter.plugin/**

collectors/ioping:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/ioping.plugin/**
- src/collectors/ioping.plugin/**

collectors/macos:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/macos.plugin/**
- src/collectors/macos.plugin/**

collectors/nfacct:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/nfacct.plugin/**
- src/collectors/nfacct.plugin/**

collectors/perf:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/perf.plugin/**
- src/collectors/perf.plugin/**

collectors/proc:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/proc.plugin/**
- src/collectors/proc.plugin/**

collectors/python.d:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/python.d.plugin/**
- src/collectors/python.d.plugin/**

collectors/slabinfo:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/slabinfo.plugin/**
- src/collectors/slabinfo.plugin/**

collectors/statsd:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/statsd.plugin/**
- src/collectors/statsd.plugin/**

collectors/systemd-journal:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/systemd-journal.plugin/**
- src/collectors/systemd-journal.plugin/**

collectors/tc:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/tc.plugin/**
- src/collectors/tc.plugin/**

collectors/timex:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/timex.plugin/**
- src/collectors/timex.plugin/**

collectors/xenstat:
- any:
- changed-files:
- any-glob-to-any-file:
- collectors/xenstat.plugin/**
- src/collectors/xenstat.plugin/**

# ----------------/collectors----------------------

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
id: python
run: |
if [ "${{ steps.always.outputs.run }}" = "false" ]; then
if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq 'collectors/python.d.plugin/.*\.py' ; then
if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq 'src/collectors/python.d.plugin/.*\.py' ; then
echo "run=true" >> "${GITHUB_OUTPUT}"
echo '::notice::Python code has changed, need to run CodeQL.'
else
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generate-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- master
paths: # If any of these files change, we need to regenerate integrations.js.
- 'collectors/**/metadata.yaml'
- 'src/collectors/**/metadata.yaml'
- 'src/exporting/**/metadata.yaml'
- 'src/health/notifications/**/metadata.yaml'
- 'integrations/templates/**'
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
id: generate-integrations-documentation
run: |
python3 integrations/gen_docs_integrations.py
- name: Generate collectors/COLLECTORS.md
- name: Generate src/collectors/COLLECTORS.md
id: generate-collectors-md
run: |
python3 integrations/gen_doc_collector_page.py
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
Prepare Dependencies: ${{ steps.prep-deps.outcome }}
Generate Integrations: ${{ steps.generate.outcome }}
Generate Integrations Documentation: ${{ steps.generate-integrations-documentation.outcome }}
Generate collectors/COLLECTORS.md: ${{ steps.generate-collectors-md.outcome }}
Generate src/collectors/COLLECTORS.md: ${{ steps.generate-collectors-md.outcome }}
Clean Up Temporary Data: ${{ steps.clean.outcome }}
Create PR: ${{ steps.create-pr.outcome }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
Expand Down
20 changes: 10 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Makefile.in
.*.swp
*.old
*.log
!collectors/log2journal/tests.d/*.log
!src/collectors/log2journal/tests.d/*.log
*.pyc

netdata.spec
Expand All @@ -28,9 +28,9 @@ upload/
artifacts/

ebpf.plugin
collectors/ebpf.plugin/reset_netdata_trace.sh
src/collectors/ebpf.plugin/reset_netdata_trace.sh
!ebpf.plugin/
collectors/ebpf.plugin/includes/
src/collectors/ebpf.plugin/includes/

# protoc generated files
*.pb.cc
Expand Down Expand Up @@ -88,13 +88,13 @@ system/systemd/netdata-updater.service

src/health/notifications/alarm-notify.sh
claim/netdata-claim.sh
collectors/cgroups.plugin/cgroup-name.sh
collectors/cgroups.plugin/cgroup-network-helper.sh
collectors/tc.plugin/tc-qos-helper.sh
collectors/charts.d.plugin/charts.d.plugin
collectors/python.d.plugin/python.d.plugin
collectors/ioping.plugin/ioping.plugin
collectors/go.d.plugin
src/collectors/cgroups.plugin/cgroup-name.sh
src/collectors/cgroups.plugin/cgroup-network-helper.sh
src/collectors/tc.plugin/tc-qos-helper.sh
src/collectors/charts.d.plugin/charts.d.plugin
src/collectors/python.d.plugin/python.d.plugin
src/collectors/ioping.plugin/ioping.plugin
src/collectors/go.d.plugin
web/netdata-switch-dashboard.sh

src/logsmanagement/stress_test/stress_test
Expand Down
Loading

0 comments on commit e0ec104

Please sign in to comment.