<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:06:40 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-44689] Add serverStatus counter for each use of an aggregation stage in a user&apos;s request</title>
                <link>https://jira.mongodb.org/browse/SERVER-44689</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Similar to the way in which MongoDB exports &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8772a8a2e8c966d10ff22180633ea4e908734a47/src/mongo/db/commands.h#L427-L432&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;counters for the number of times each command executes&lt;/a&gt;, it should export a counter indicating how often each unique &lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;aggregation pipeline stage&lt;/a&gt; that appears in a query supplied by a client. There are currently about 30 of these.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1008511">SERVER-44689</key>
            <summary>Add serverStatus counter for each use of an aggregation stage in a user&apos;s request</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="13201">Fixed</resolution>
                                        <assignee username="mihai.andrei@mongodb.com">Mihai Andrei</assignee>
                                    <reporter username="ian@mongodb.com">Ian Whalen</reporter>
                        <labels>
                            <label>qexec-team</label>
                    </labels>
                <created>Mon, 18 Nov 2019 01:22:35 +0000</created>
                <updated>Wed, 8 Nov 2023 06:26:36 +0000</updated>
                            <resolved>Thu, 20 Feb 2020 14:44:52 +0000</resolved>
                                                    <fixVersion>4.2.6</fixVersion>
                    <fixVersion>4.3.4</fixVersion>
                    <fixVersion>4.0.19</fixVersion>
                                    <component>Aggregation Framework</component>
                    <component>Diagnostics</component>
                                        <votes>0</votes>
                                    <watches>17</watches>
                                                                                                                <comments>
                            <comment id="3059278" author="xgen-internal-githook" created="Tue, 28 Apr 2020 19:07:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mihai Andrei&apos;, &apos;email&apos;: &apos;mihai.andrei@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44689&quot; title=&quot;Add serverStatus counter for each use of an aggregation stage in a user&amp;#39;s request&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44689&quot;&gt;&lt;del&gt;SERVER-44689&lt;/del&gt;&lt;/a&gt; Add serverStatus counter for each use of an aggregation stage in a user&apos;s request&lt;/p&gt;

&lt;p&gt;(cherry picked from commit c54a777a4a154984f5595b11993d7d009350a38c)&lt;br/&gt;
(cherry picked from commit 08266fc2ad15e2cba4af79e58a83e822e7c540dc)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3e49ba9571c3513f7aef3135b5923c83a76344e2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3e49ba9571c3513f7aef3135b5923c83a76344e2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3031659" author="xgen-internal-githook" created="Wed, 8 Apr 2020 18:26:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mihai Andrei&apos;, &apos;email&apos;: &apos;mihai.andrei@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44689&quot; title=&quot;Add serverStatus counter for each use of an aggregation stage in a user&amp;#39;s request&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44689&quot;&gt;&lt;del&gt;SERVER-44689&lt;/del&gt;&lt;/a&gt; Add serverStatus counter for each use of an aggregation stage in a user&apos;s request&lt;/p&gt;

&lt;p&gt;(cherry picked from commit c54a777a4a154984f5595b11993d7d009350a38c)&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/08266fc2ad15e2cba4af79e58a83e822e7c540dc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/08266fc2ad15e2cba4af79e58a83e822e7c540dc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3031658" author="xgen-internal-githook" created="Wed, 8 Apr 2020 18:26:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mihai Andrei&apos;, &apos;email&apos;: &apos;mihai.andrei@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44689&quot; title=&quot;Add serverStatus counter for each use of an aggregation stage in a user&amp;#39;s request&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44689&quot;&gt;&lt;del&gt;SERVER-44689&lt;/del&gt;&lt;/a&gt; Add serverStatus counter for each use of an aggregation stage in a user&apos;s request&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 13e55a2e6afc0836431051be275a8a9584eb6a32)&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/e7a577a6c1c9f8ad30679da58b2f25eca410febf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/e7a577a6c1c9f8ad30679da58b2f25eca410febf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2885759" author="xgen-internal-githook" created="Wed, 19 Feb 2020 22:44:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mihai Andrei&apos;, &apos;email&apos;: &apos;mihai.andrei@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44689&quot; title=&quot;Add serverStatus counter for each use of an aggregation stage in a user&amp;#39;s request&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44689&quot;&gt;&lt;del&gt;SERVER-44689&lt;/del&gt;&lt;/a&gt; Add serverStatus counter for each use of an aggregation stage in a user&apos;s request&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c54a777a4a154984f5595b11993d7d009350a38c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c54a777a4a154984f5595b11993d7d009350a38c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2885758" author="xgen-internal-githook" created="Wed, 19 Feb 2020 22:44:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mihai Andrei&apos;, &apos;email&apos;: &apos;mihai.andrei@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44689&quot; title=&quot;Add serverStatus counter for each use of an aggregation stage in a user&amp;#39;s request&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44689&quot;&gt;&lt;del&gt;SERVER-44689&lt;/del&gt;&lt;/a&gt; Add serverStatus counter for each use of an aggregation stage in a user&apos;s request&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/13e55a2e6afc0836431051be275a8a9584eb6a32&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/13e55a2e6afc0836431051be275a8a9584eb6a32&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2549520" author="bruce.lucas@10gen.com" created="Tue, 19 Nov 2019 17:44:15 +0000"  >&lt;p&gt;I think that&apos;s fine, particularly if, like commands, only a subset of them are generally very active (incrementing). Counters that don&apos;t change are inexpensive.&lt;/p&gt;</comment>
                            <comment id="2549510" author="schwerin" created="Tue, 19 Nov 2019 17:39:42 +0000"  >&lt;p&gt;It&#8217;s somewhere between 25 and 30 counters. I had planned to send them to FTDC, but we could consider just making it available in a way that &#8220;last pings&#8221; type monitoring finds it.&lt;/p&gt;</comment>
                            <comment id="2549393" author="bruce.lucas@10gen.com" created="Tue, 19 Nov 2019 16:56:23 +0000"  >&lt;p&gt;How many counters do you expect that this will add? Will it be included in ftdc?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="1165776">DOCS-13435</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2493713">SERVER-82928</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16775"><![CDATA[v4.2]]></customfieldvalue>
    <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    <customfieldvalue key="15141"><![CDATA[v3.6]]></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>Mon, 18 Nov 2019 16:27:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 41 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>There are now serverStatus counters which track how often each aggregation stage is used.&lt;br/&gt;
&lt;br/&gt;
Definitely a Triage and Release DC</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16942"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1639</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>max.hirschhorn@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 41 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>mihai.andrei@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hw3qin:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvs0kf:</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="3289">Query 2020-01-13</customfieldvalue>
    <customfieldvalue id="3290">Query 2020-01-27</customfieldvalue>
    <customfieldvalue id="3291">Query 2020-02-10</customfieldvalue>
    <customfieldvalue id="3292">Query 2020-02-24</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_17051" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Teams Impacted</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16944"><![CDATA[Docs]]></customfieldvalue>
    <customfieldvalue key="16946"><![CDATA[Triage and Release]]></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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hw3crz:</customfieldvalue>

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