You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2017/03/13 12:06:41 UTC

[jira] [Commented] (SOLR-10224) Add disk free and aggregated disk free metrics

    [ https://issues.apache.org/jira/browse/SOLR-10224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907339#comment-15907339 ] 

Andrzej Bialecki  commented on SOLR-10224:
------------------------------------------

An open question: we can create {{solr.jvm}} metrics for each accessible {{FileStore}}, but that may be a lot of metrics, and some of them are of very limited value (eg. procfs, tmpfs, devpts and similar), so it looks like we should at least leave out some common less-than-useful filesystem types.

Example result of {{FileSystems.getDefault().getFileStores()}}:
{code}
/ (/dev/root)
/dev (devtmpfs)
/sys (sysfs)
/proc (proc)
/dev/shm (tmpfs)
/dev/pts (devpts)
/run (tmpfs)
/run/lock (tmpfs)
/sys/fs/cgroup (tmpfs)
/sys/fs/cgroup/systemd (cgroup)
/sys/fs/cgroup/cpu,cpuacct (cgroup)
/sys/fs/cgroup/blkio (cgroup)
/sys/fs/cgroup/memory (cgroup)
/sys/fs/cgroup/devices (cgroup)
/sys/fs/cgroup/freezer (cgroup)
/sys/fs/cgroup/net_cls (cgroup)
/proc/sys/fs/binfmt_misc (systemd-1)
/dev/mqueue (mqueue)
/sys/kernel/debug (debugfs)
/sys/kernel/config (configfs)
/sys/fs/fuse/connections (fusectl)
/boot (/dev/mmcblk0p6)
/run/user/1000 (tmpfs)
/run/user/1000/gvfs (gvfsd-fuse)
{code}

Another option is to report just the filesystem where {{dataDir}} is located, for each SolrCore.

> Add disk free and aggregated disk free metrics
> ----------------------------------------------
>
>                 Key: SOLR-10224
>                 URL: https://issues.apache.org/jira/browse/SOLR-10224
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: metrics
>    Affects Versions: 6.5, master (7.0)
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>            Priority: Minor
>
> Spin-off from SOLR-9858. We kind of missed these when adding other OS-specific metrics.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org