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

ASF subversion and git services commented on SOLR-18159:
--------------------------------------------------------

Commit 41c8edefe84275df083685098cec07bf74fae054 in solr's branch 
refs/heads/branch_10x from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=41c8edefe84 ]

SOLR-18159 Add metrics for system memory (#4209)

(cherry picked from commit c8cf0db17243964bad833f769f0d7ac49497d507)


> Add back some system memory metrics
> -----------------------------------
>
>                 Key: SOLR-18159
>                 URL: https://issues.apache.org/jira/browse/SOLR-18159
>             Project: Solr
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 9.1
>
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> When moving from micrometer to otel for metrics, we lost metrics for system 
> memory. It is a useful metric and we should re-introduce total and free 
> values.
> Since java do not (yet) have a full public api for this, we can use
> com.sun.management.OperatingSystemMXBean which is supported on the most used 
> JVMs. On unsupported JVMs the metric should not be reported.
>  
> Naming suggestion: jvm_system_memory_total_bytes and 
> jvm_system_memory_free_bytes



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to