13 Jun 2025 08:44 AM
Im trying to understand this extension.
According to the documentation for it it should be able to count the number of files in a folder.
I want to show this information in a Honycomb, a toplist and just for fun as a graph.
I split it by HOST / PATH
HonyComb shows 2 paths with 1 file in each, when we check the folders only 1 of them actualy contains a file!
Top List shows the values 1 and 0.52(ish) for the same 2 paths. Funny thing the 0.52 pnly occurs if i select a timeframe of 72H
When i clone the top list, and select i want to see the last value (folder transformation) then i get 1 and 1.
But when i select filesystem.file.count.gauge Value (not auto) it says No data.
Just so i can try to keep my sanity, can someone try to explain why i have to "guess" what value to show, or am i just not understanding the bigger picture?
Running on a onprem installation.
For the 0.52 i can only get it to make sense, if i would use the value incorrect in the top list.
13 Jun 2025 11:58 AM
You have to play with metrics/aggregations a little bit. Each metric can be shown very different ways and each type of display uses slightly different approach of visualizing. F.e. honeycomb shows only 1 value for timeframe - usually avg, but you can set fold type to last value to see actual value of metric...
13 Jun 2025 12:39 PM
Will try that, it's always good to know that we can never trust the numbers 🙂
Still dosent explain that count of 1 file that is empty.
13 Jun 2025 12:54 PM
Aer you maybe using the count aggregation for that one? That doesn't actually provide the count of files, but the count of data points, even if they are 0.
13 Jun 2025 01:00 PM
Nope i found out that the count was counting something strange.. But data points are certainly making sense.
Im using last value, and when the folder was checked it was empty. Also all my 32 other monitoring points do work.
Could be something funny with this particular folder, because the 1 in the other folder is correct.
13 Jun 2025 01:24 PM
maybe you have subfolder in your empty folder and enabled this check?