<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:58:31 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-21818] Capture system metrics in FTDC</title>
                <link>https://jira.mongodb.org/browse/SERVER-21818</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently full-time data capture only includes internal metrics (with a small number of exceptions). It would be useful to also capture system metrics related to cpu, memory, and storage. For illustrative purposes attached is a POC data capture tool sysmon.py that captures such information on Linux from /proc/stat, /proc/meminfo, and /sys/block/*/stat that has proven useful for problem diagnosis. Captured information includes the following:&lt;/p&gt;

&lt;p&gt;&lt;b&gt;/proc/stat&lt;/b&gt;&lt;br/&gt;
cpu_user&lt;br/&gt;
cpu_nice&lt;br/&gt;
cpu_system&lt;br/&gt;
cpu_idle&lt;br/&gt;
cpu_iowait&lt;br/&gt;
cpu_irq&lt;br/&gt;
cpu_softirq&lt;br/&gt;
cpu_steal&lt;br/&gt;
cpu_guest&lt;br/&gt;
cpu_guest_nice&lt;br/&gt;
ctxt&lt;br/&gt;
btime&lt;br/&gt;
processes&lt;br/&gt;
procs_running&lt;br/&gt;
procs_blocked&lt;br/&gt;
cpus&lt;/p&gt;

&lt;p&gt;&lt;b&gt;/proc/meminfo&lt;/b&gt;&lt;br/&gt;
memtotal&lt;br/&gt;
memfree&lt;br/&gt;
buffers&lt;br/&gt;
cached&lt;br/&gt;
swapcached&lt;br/&gt;
active&lt;br/&gt;
inactive&lt;br/&gt;
active anon&lt;br/&gt;
inactive anon&lt;br/&gt;
active file&lt;br/&gt;
inactive file&lt;br/&gt;
dirty&lt;/p&gt;

&lt;p&gt;&lt;b&gt;/sys/block/&amp;#42;/stat&lt;/b&gt;&lt;br/&gt;
sd*.reads&lt;br/&gt;
sd*.reads_merged&lt;br/&gt;
sd*.read_sectors&lt;br/&gt;
sd*.read_time_ms&lt;br/&gt;
sd*.writes&lt;br/&gt;
sd*.writes_merged&lt;br/&gt;
sd*.write_sectors&lt;br/&gt;
sd*.write_time_ms&lt;br/&gt;
sd*.io_in_progress&lt;br/&gt;
sd*.io_time_ms&lt;br/&gt;
sd*.io_queued_ms&lt;/p&gt;

&lt;p&gt;Similar metrics are available through Windows APIs. Where applicable cumulative counters are preferred over instantaneous values because cumulative counters can be sampled at arbitrary time intervals. In general raw system-specific metrics with a minimum of processing are preferred, leaving it to tooling to subsample as needed and compute useful values for display. (An exception might be for example that sectors could be converted to bytes because sector may be a system- or device-specific unit.)&lt;/p&gt;
</description>
                <environment></environment>
        <key id="243037">SERVER-21818</key>
            <summary>Capture system metrics in FTDC</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="mark.benvenuto@mongodb.com">Mark Benvenuto</assignee>
                                    <reporter username="bruce.lucas@mongodb.com">Bruce Lucas</reporter>
                        <labels>
                            <label>monitoring</label>
                    </labels>
                <created>Wed, 9 Dec 2015 18:55:48 +0000</created>
                <updated>Tue, 25 Apr 2017 08:25:08 +0000</updated>
                            <resolved>Tue, 26 Jul 2016 16:06:40 +0000</resolved>
                                                    <fixVersion>3.2.13</fixVersion>
                    <fixVersion>3.3.11</fixVersion>
                                    <component>Diagnostics</component>
                                        <votes>3</votes>
                                    <watches>22</watches>
                                                                                                                <comments>
                            <comment id="1336232" author="mark.benvenuto" created="Tue, 26 Jul 2016 16:06:40 +0000"  >&lt;p&gt;Linux and Windows implementations have been completed.&lt;/p&gt;</comment>
                            <comment id="1336209" author="acm" created="Tue, 26 Jul 2016 15:59:54 +0000"  >&lt;p&gt;Mark please resolve this ticket, we held it open as a tracking ticket but all of the associated work has been completed.&lt;/p&gt;</comment>
                            <comment id="1273989" author="mark.benvenuto" created="Tue, 24 May 2016 20:10:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=lucas.hrabovsky&quot; class=&quot;user-hover&quot; rel=&quot;lucas.hrabovsky&quot;&gt;lucas.hrabovsky&lt;/a&gt; Thanks for the reference. sigar supports a lot of operating systems, and a lot of very old versions (like NT4). I will use as a reference if I need to find the various APIs to gather data.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="293897">SERVER-24572</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="294264">SERVER-24605</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="294265">SERVER-24606</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="294266">SERVER-24607</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="294267">SERVER-24608</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="294271">SERVER-24610</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="336320">DOCS-9502</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="377271">SERVER-28953</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="101461" name="sysmon.py" size="2380" author="bruce.lucas@mongodb.com" created="Wed, 9 Dec 2015 18:55:48 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 17 Mar 2016 19:27:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 29 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-24608'>SERVER-24608</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-24610'>SERVER-24610</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-24607'>SERVER-24607</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-24606'>SERVER-24606</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-24605'>SERVER-24605</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-24572'>SERVER-24572</a></s>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-561</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>henrik.ingo@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 29 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkmo7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsnik7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1063">Platforms 15 (06/03/16)</customfieldvalue>
    <customfieldvalue id="1066">Platforms 18 (08/05/16)</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsfdn3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>