Skip to content

[Improvement][Worker] Add disk usage monitoring for data.basedir.path…#18065

Open
dill21yu wants to merge 2 commits intoapache:devfrom
dill21yu:disk-usage-monitor
Open

[Improvement][Worker] Add disk usage monitoring for data.basedir.path…#18065
dill21yu wants to merge 2 commits intoapache:devfrom
dill21yu:disk-usage-monitor

Conversation

@dill21yu
Copy link
Contributor

… directory

Was this PR generated or assisted by AI?

YES, use cursor to help do this

Purpose of the pull request

to close #17670

image

a list-based configuration allowing users to define specific thresholds for different disk paths.
Example Usage:
max-disk-usage-percentage-thresholds-rules:

  • disk-path: /data1
    usage-percentage-thresholds: 0.9
  • disk-path: /data2
    usage-percentage-thresholds: 0.8

The original property max-disk-usage-percentage-thresholds is marked as @deprecated
The system falls back to the old config if the new rules list is empty, ensuring no breaking changes.
Note: Recreating this PR to resolve the merge conflicts and history issues caused by the previous attempt on the dev branch.

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

Pull Request Notice

Pull Request Notice

If your pull request contains incompatible change, you should also add it to docs/docs/en/guide/upgrade/incompatible.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement][Worker-monitoring] Add disk usage monitoring for data.basedir.path directory

1 participant