<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:16:25 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 add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-1857] extract all unique CQL queries used from Okapi logfile on folio-snapshot</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-1857</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;This task is to extract all unique CQL queries sent by clients on folio-snapshot and corresponding generated SQL queries and timing information. This task should be performed by parsing the okapi.log from folio-snapshot.&lt;/p&gt;

&lt;p&gt;The logfile analysed should span as much time as possible (it&apos;s been discussed that the existing logs only allow for a day worth of data, which is what is expected from this story: we will create additional stories to extend this).&lt;/p&gt;

&lt;p&gt;CQL queries can be found by matching for &lt;tt&gt;query=&lt;/tt&gt; parameter.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Acceptance criteria&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;A CSV file with results should be generated. The CSV file should contain three columns:&lt;/p&gt;

&lt;p&gt;1. HTTP request that includes the &apos;query=&apos; (with HTTP path and query parameters)&lt;br/&gt;
2. SQL query generated as a result of parsing &apos;query=&apos; (usually found two loglines below, only include it available as some modules may not be available)&lt;br/&gt;
3. Timing information (us) for how long it took to handle the HTTP request (average it out across the non-uniqe log-lines)&lt;/p&gt;

&lt;p&gt;The CSV file should be attached to this Jira issue.&lt;/p&gt;

&lt;p&gt;A script to parse out the above CSV file should also be created as part of this story (programming language used is up to author, bash/perl/python/node all can be used) as we will want to rerun it once we get new logs.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="81062">FOLIO-1857</key>
            <summary>extract all unique CQL queries used from Okapi logfile on folio-snapshot</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/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="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="5c38e8d616ac1e4f7cbc660a">Kurt Nordstrom</assignee>
                                                                <reporter accountid="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d">Jakub Skoczen</reporter>
                                    <labels>
                            <label>platform-backlog</label>
                            <label>q1-performance</label>
                    </labels>
                <created>Mon, 11 Mar 2019 10:25:36 +0000</created>
                <updated>Wed, 3 Jun 2020 16:39:35 +0000</updated>
                            <resolved>Mon, 25 Mar 2019 10:28:36 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                                                            <comment id="192310" author="5c38e8d616ac1e4f7cbc660a" created="Thu, 21 Mar 2019 12:53:13 +0000"  >&lt;p&gt;Script is located in &lt;a href=&quot;https://github.com/folio-org/folio-tools&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/folio-tools&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="192311" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Thu, 21 Mar 2019 13:18:47 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c38e8d616ac1e4f7cbc660a&quot; class=&quot;user-hover&quot; rel=&quot;5c38e8d616ac1e4f7cbc660a&quot; data-account-id=&quot;5c38e8d616ac1e4f7cbc660a&quot; accountid=&quot;5c38e8d616ac1e4f7cbc660a&quot; rel=&quot;noreferrer&quot;&gt;Kurt Nordstrom&lt;/a&gt; did you analyze and generate a CSV file for an existing folio-snapshot logfile?&lt;/p&gt;</comment>
                                                            <comment id="192312" author="5c38e8d616ac1e4f7cbc660a" created="Thu, 21 Mar 2019 13:26:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ab8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; class=&quot;user-hover&quot; rel=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; data-account-id=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; accountid=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; rel=&quot;noreferrer&quot;&gt;Jakub Skoczen&lt;/a&gt; I did. I will attach both files to the issue.&lt;/p&gt;</comment>
                                                            <comment id="192314" author="5c38e8d616ac1e4f7cbc660a" created="Mon, 25 Mar 2019 10:28:23 +0000"  >&lt;p&gt;This has been updated to parse the new unified format from 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;RMB-341&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/RMB-341&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Log CQL and generated SQL WHERE clause together&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium&quot; /&gt;
            RMB-341
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="79476">FOLIO-1860</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="37505">CQLPG-81</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81100">FOLIO-1815</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="56980">RMB-341</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="64157" name="output-dedup.csv" size="3604" author="5c38e8d616ac1e4f7cbc660a" created="Thu, 21 Mar 2019 13:31:01 +0000"/>
                            <attachment id="64158" name="output.csv" size="7985" author="5c38e8d616ac1e4f7cbc660a" created="Thu, 21 Mar 2019 13:31:01 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10144"><![CDATA[Core: Platform]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzzhpj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1418">Core: Platform - Sprint 60</customfieldvalue>
    <customfieldvalue id="1149">Core: Platform - Sprint 59</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 21 Mar 2019 12:53:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>