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

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

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

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

> 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
>            Priority: Major
>              Labels: pull-request-available
>          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