-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting all subdirectories in paths #45
Comments
Thx alot for the suggestion. Paths support regex matching for child directories, this should bring the result you want (metric per child directory):
Note the dot-and-star |
Thank you for getting back to me. This does work but only one level down.
Is there a way to define something like
```
- '/.*'
```
And it pick up all directories in hdfs?
…On Tue, Apr 27, 2021, 2:38 PM Marcel May ***@***.***> wrote:
Thx alot for the suggestion.
Paths support regex matching for child directories, this should bring the
result you want (metric per child directory):
paths:
- '/data/.*'
Note the dot-and-star .* in the example, matching any subdirectory.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGIXQXLBWSXCLB7PUAJ43QDTK4VFVANCNFSM43VOSJKA>
.
|
For now you'd have to specify all the child dirs. Out of curiosity, what is your use case for for-all-dirs instead of path-aggregated metrics? In a classical datalake scenario, I'd recommend to either use eg by user or group stats. |
This is a suggestion for a nice to have. Consider the below conf file:
I would like metrics displayed for all the subdirectories under data. This way I can create a Prometheus query that automatically picks up new paths added and I don't have to add them to the conf file. Currently an error is thrown saying the path could not be found. Please let me know your thoughts.
The text was updated successfully, but these errors were encountered: