<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56: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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[CONTROLLER-1854] Metrics/counters for shard leadership changes</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1854</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Today shard leadership changes have impact on services and too many shard leadership changes in a short duration are sign of unhealthy cluster. We need some means to track and detect frequency of shard leadership changes. For this we want some metrics/counters exposed by Controller.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30364">CONTROLLER-1854</key>
            <summary>Metrics/counters for shard leadership changes</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="tpantelis">Tom Pantelis</assignee>
                                    <reporter username="thapar">Vishal Thapar</reporter>
                        <labels>
                    </labels>
                <created>Mon, 23 Jul 2018 15:34:24 +0000</created>
                <updated>Fri, 5 Oct 2018 15:18:17 +0000</updated>
                            <resolved>Fri, 5 Oct 2018 15:18:17 +0000</resolved>
                                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="64177" author="vorburger" created="Tue, 24 Jul 2018 13:40:53 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=tpantelis&quot; class=&quot;user-hover&quot; rel=&quot;tpantelis&quot;&gt;tpantelis&lt;/a&gt; on&#160;&lt;a href=&quot;https://lists.opendaylight.org/pipermail/controller-dev/2018-July/014543.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/controller-dev/2018-July/014543.html&lt;/a&gt;&#160;said:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;ShardStatsMXBean already has&#160;getLeadershipChangeCount and&#160;getLastLeadershipChangeTime.&quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=thapar&quot; class=&quot;user-hover&quot; rel=&quot;thapar&quot;&gt;thapar&lt;/a&gt;&#160;so we can just read that (via Jolokia&apos;s URL) ...&#160;close this (controller) issue?&lt;/p&gt;</comment>
                            <comment id="64178" author="thapar" created="Tue, 24 Jul 2018 15:53:27 +0000"  >&lt;p&gt;Yep. Will get started on changes to use this in ODLTools.&lt;/p&gt;</comment>
                            <comment id="64179" author="thapar" created="Tue, 24 Jul 2018 15:53:45 +0000"  >&lt;p&gt;Yep. Will get started on changes to use this in ODLTools.&lt;/p&gt;</comment>
                            <comment id="64204" author="muthukumarank" created="Wed, 25 Jul 2018 05:29:58 +0000"  >&lt;p&gt;The curl command which we use for this is&#160;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;curl --silent -u admin:admin &lt;a href=&quot;http://localhost:8181/jolokia/read/org.opendaylight.controller:type=DistributedConfigDatastore,Category=Shards,name=member-1-shard-inventory-config/LeadershipChangeCount&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/jolokia/read/org.opendaylight.controller:type=DistributedConfigDatastore,Category=Shards,name=member-1-shard-inventory-config/LeadershipChangeCount&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;wherein we can replace the shard-name with all interested shards.&#160;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;I assume that the monitoring tools sit external to ODL and runs in a cron. Actually, that&apos;s how we use it&lt;/font&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>NETVIRT-996</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03gz3:</customfieldvalue>

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