-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
ZFS arcstat memory_available_bytes
is missing on Linux
#2656
Comments
Odd, these metrics seem to be duplicates of the memstat metrics.
Compared to
MemTotal matches, but the others don't. |
IIUC, it's a totally different metric; They also don't line up at all for me:
So please keep them. I found this issue because I'm debugging an issue with the ZFS ARC for which I need that metric. |
I face the same problem |
Host operating system: output of
uname -a
Linux 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
node_exporter version: output of
node_exporter --version
node_exporter command line flags
Node exporter command line flags
node_exporter log output
Node exporter logs
Are you running node_exporter in Docker?
no
What did you do that produced an error?
Enable the ZFS collector
What did you expect to see?
To see all arcstats.
What did you see instead?
All arcstats except for one:
memory_available_bytes
(asnode_zfs_arc_memory_available_bytes
).It's right there in my procfile
/proc/spl/kstat/zfs/arcstats
:I think it is omitted by the collector because it's filtered out erroneously in this line:
node_exporter/collector/zfs_linux.go
Line 166 in b87c6a8
memory_available_bytes
is not of type=4, but type=3 (signed instead of unsigned, I think), so it's not considered a valid metric by node_exporter. :-(Please fix the collector so that it supports more than just the uint64 type. Thanks.
The text was updated successfully, but these errors were encountered: