Comments (4)
Just in case if you want to monitor just the size of directory. Created my custom exporter
https://github.com/nischalstha9/prometheus-directory-size-exporter
from filestat_exporter.
Not as such. You can compute metrics from the files inside a directory: count()
for the number of files, sum()
on file size for directory size and max()
on timestamp for last modification.
from filestat_exporter.
Hello michael, how about monitoring files in 2 separated directories?
is there a way to monitor two directories with the same configfile.yml?
from filestat_exporter.
I was able to use the following configuration from the example in the README, in case it helps. You would need to find a list of file extensions or patterns to monitor in order to catch files in your directory. If you don't have a pattern among the files it would be more difficult.
files:
- patterns: ["directory1/myfile-*"]
- patterns: ["directory2/otherfile-*"]
from filestat_exporter.
Related Issues (16)
- Pattern to search for files in directory and its subdirectories is not possible HOT 4
- Slash missing HOT 1
- Windows 386 version HOT 1
- Files in different directories HOT 6
- Sparse Files Monitoring HOT 1
- Pattern Order Affects File Counts HOT 2
- File owner information HOT 2
- Monitornig of file backup HOT 1
- Make it possible to enable/disable specific metrics in configuration file HOT 4
- The 0.3.6 version starts to report an error HOT 2
- it's possible to add a scheduled monitoring feature to activate file monitoring at a specific time. HOT 3
- Availability of the file to be checked. HOT 1
- Outdated docker hub version HOT 2
- Command Substitution HOT 3
- Too many stats are cast to floats HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filestat_exporter.