<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:13:37 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>[DOCS-15705] Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop</title>
                <link>https://jira.mongodb.org/browse/DOCS-15705</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>    &lt;div class=&quot;panel&quot; style=&quot;background-color: #c2d2c2;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;background-color: #239eb0;&quot;&gt;&lt;b&gt;Original Downstream Change Summary&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;    A new log reports on the &quot;session workflow&quot; loop time if time taken exceeds the existing slowMs config. The session workflow includes all of the work captured by the slow query log, and more. We capture how long it took to:&lt;br/&gt;
1) Receive a message&lt;br/&gt;
2) Process that message into a work item (effectively a command)&lt;br/&gt;
3) Do the work (effectively the same time frame as slow query)&lt;br/&gt;
4) Send the response&lt;br/&gt;
5) Do any cleanup after sending a response&lt;/p&gt;

&lt;p&gt;We log if the time from steps 2-5 was slow (step 1 is not an indication of slowness because we are waiting for a client to send us a message).&lt;/p&gt;

&lt;p&gt;Note: this does not do sampling like the slow query log.&lt;/p&gt;
&lt;h2&gt;&lt;a name=&quot;DescriptionofLinkedTicket&quot;&gt;&lt;/a&gt;Description of Linked Ticket&lt;/h2&gt;
&lt;p&gt;    &lt;b&gt;Context:&lt;/b&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55638&quot; title=&quot;Diagnostics for time spent sending responses to ingress queries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55638&quot;&gt;&lt;del&gt;SERVER-55638&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63883&quot; title=&quot;Report operation latency from receiving request to sending response&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63883&quot;&gt;SERVER-63883&lt;/a&gt; were both logged before our rework to SessionWorkflow started. They are both being closed in favor of an approach that consolidates the two implementations and allows for us to spend some time clarifying requirements with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=bruce.lucas%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;bruce.lucas@mongodb.com&quot;&gt;bruce.lucas@mongodb.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Previous task:&lt;/b&gt; (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69830&quot; title=&quot;Capture metrics for the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69830&quot;&gt;&lt;del&gt;SERVER-69830&lt;/del&gt;&lt;/a&gt;) ** At each stage of the SessionWorkflow, capture `timeSpent` and store it in an object associated 1:1 with each loop.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;This task:&lt;/b&gt; Report on these gathered metrics in a manner that&apos;s satisfactory to the requirements of stakeholders of the original tickets: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55638&quot; title=&quot;Diagnostics for time spent sending responses to ingress queries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55638&quot;&gt;&lt;del&gt;SERVER-55638&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63883&quot; title=&quot;Report operation latency from receiving request to sending response&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63883&quot;&gt;SERVER-63883&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Requirements should be discussed with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=bruce.lucas%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;bruce.lucas@mongodb.com&quot;&gt;bruce.lucas@mongodb.com&lt;/a&gt;.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="2167706">DOCS-15705</key>
            <summary>Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="jason.price@mongodb.com">Jason Price</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Oct 2022 18:07:53 +0000</created>
                <updated>Mon, 13 Nov 2023 17:37:34 +0000</updated>
                            <resolved>Tue, 10 Jan 2023 22:34:00 +0000</resolved>
                                                    <fixVersion>6.3.0</fixVersion>
                    <fixVersion>Server_Docs_20231030</fixVersion>
                    <fixVersion>Server_Docs_20231106</fixVersion>
                    <fixVersion>Server_Docs_20231105</fixVersion>
                    <fixVersion>Server_Docs_20231113</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5104542" author="xgen-internal-githook" created="Tue, 10 Jan 2023 22:33:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;jason-price-mongodb&apos;, &apos;email&apos;: &apos;69260375+jason-price-mongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;jason-price-mongodb&apos;}
&lt;p&gt;Message: Docs 15705 session workflow log (#2293)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15705&quot; title=&quot;Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15705&quot;&gt;&lt;del&gt;DOCS-15705&lt;/del&gt;&lt;/a&gt;-session-workflow-log&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15705&quot; title=&quot;Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15705&quot;&gt;&lt;del&gt;DOCS-15705&lt;/del&gt;&lt;/a&gt;-session-workflow-log&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15705&quot; title=&quot;Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15705&quot;&gt;&lt;del&gt;DOCS-15705&lt;/del&gt;&lt;/a&gt;-session-workflow-log&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15705&quot; title=&quot;Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15705&quot;&gt;&lt;del&gt;DOCS-15705&lt;/del&gt;&lt;/a&gt;-session-workflow-log&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15705&quot; title=&quot;Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15705&quot;&gt;&lt;del&gt;DOCS-15705&lt;/del&gt;&lt;/a&gt;-session-workflow-log&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15705&quot; title=&quot;Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15705&quot;&gt;&lt;del&gt;DOCS-15705&lt;/del&gt;&lt;/a&gt;-session-workflow-log&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15705&quot; title=&quot;Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15705&quot;&gt;&lt;del&gt;DOCS-15705&lt;/del&gt;&lt;/a&gt;-session-workflow-log&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15705&quot; title=&quot;Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15705&quot;&gt;&lt;del&gt;DOCS-15705&lt;/del&gt;&lt;/a&gt;-session-workflow-log&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15705&quot; title=&quot;Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15705&quot;&gt;&lt;del&gt;DOCS-15705&lt;/del&gt;&lt;/a&gt;-session-workflow-log&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15705&quot; title=&quot;Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15705&quot;&gt;&lt;del&gt;DOCS-15705&lt;/del&gt;&lt;/a&gt;-session-workflow-log&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15705&quot; title=&quot;Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15705&quot;&gt;&lt;del&gt;DOCS-15705&lt;/del&gt;&lt;/a&gt;-session-workflow-log&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15705&quot; title=&quot;Investigate changes in SERVER-69831: Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15705&quot;&gt;&lt;del&gt;DOCS-15705&lt;/del&gt;&lt;/a&gt;-session-workflow-log&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Co-authored-by: jason-price-mongodb &amp;lt;jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com&amp;gt;&lt;br/&gt;
Branch: v6.3&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/commit/79f3a594a402db1b77da905b0c20f02c39d966ca&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/commit/79f3a594a402db1b77da905b0c20f02c39d966ca&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4929476" author="edu.bot" created="Wed, 26 Oct 2022 18:07:58 +0000"  >&lt;p&gt;&lt;em&gt;Fix Version updated for upstream &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69831&quot; title=&quot;Report on metrics gathered in the SessionWorkflow loop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69831&quot;&gt;&lt;del&gt;SERVER-69831&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt; &lt;br/&gt;
6.2.0-rc0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="2141506">SERVER-69831</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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 26 Oct 2022 18:07:58 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 4 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_14876" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Docs Reviewer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>dave.cuthbert@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>A new log reports on the &amp;quot;session workflow&amp;quot; loop time if time taken exceeds the existing slowMs config. The session workflow includes all of the work captured by the slow query log, and more. We capture how long it took to:&lt;br/&gt;
1) Receive a message&lt;br/&gt;
2) Process that message into a work item (effectively a command)&lt;br/&gt;
3) Do the work (effectively the same time frame as slow query)&lt;br/&gt;
4) Send the response&lt;br/&gt;
5) Do any cleanup after sending a response&lt;br/&gt;
&lt;br/&gt;
We log if the time from steps 2-5 was slow (step 1 is not an indication of slowness because we are waiting for a client to send us a message).&lt;br/&gt;
&lt;br/&gt;
Note: this does not do sampling like the slow query log.</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-22092</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_14873" key="com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker">
                        <customfieldname>External Reviewer</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[matt.diener@mongodb.com]]></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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 4 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-pm</customfieldvalue>
            <customfieldvalue>edu.bot</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jason.price@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1fjl3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0y70w:</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_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1f5qf:</customfieldvalue>

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