Latest Sample through the REST API contribution

Marc Holden <[email protected]> Tue, 4 Sep 2012 09:11:41 -0400
Newsgroups gmane.comp.java.grinder.devel
Message-ID <CADV_OVUvrgvm2t+o7xyf1jDO=fVJy1ZnEzg3x5AwB9VG1OVVVw@mail.gmail.com>
--===============2071963535147557519==
Content-Type: multipart/alternative; boundary=e0cb4efe2b18d02a6904c8dfff66

--e0cb4efe2b18d02a6904c8dfff66
Content-Type: text/plain; charset=ISO-8859-1

Hello,



I am interested in contributing a new REST API that allows for the
retrieval of the latest sample through the RESP API in addition to
the cumulative statistics that are currently available.  The changes
involved would be updates to the net.grinder.console.service.rest.clj and
net.grinder.console.model.recording.clj.  In my local implementation I have
also updated the net.grinder.console.model.SampleModel interface and
SampleModelImplementation to expose the total latest statistics through a
new method call getTotalLatestStatistics().  If there is a more preferred
way of accessing total statistics of the latest sample, I will be happy to
make any changes.



The reason for this new call was that the data returned from the REST API
did not always accurately reflect how the application was performing when
the call was made.   This caused some  discrepancies in the data captured
through our APM.



Please let me know if this is something people would be interested in and I
would be happy to contribute the changes I have made.



Thanks,



-Marc

--e0cb4efe2b18d02a6904c8dfff66
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">Hello,</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">I am interested in contributing a new REST API that allows for the
retrieval of the latest sample through the RESP API in addition to
the=A0cumulative statistics that are currently=A0available. =A0The
changes involved would be updates to the net.grinder.console.service.rest.c=
lj
and net.grinder.console.model.recording.clj. =A0In my local implementation =
I
have also updated the net.grinder.console.model.SampleModel interface and
SampleModelImplementation to expose the total latest statistics through a n=
ew
method call getTotalLatestStatistics().=A0 If there is a more preferred way
of accessing total statistics of the latest sample, I will be happy to make=
 any
changes.</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">The reason for this new call was that the data returned from the
REST API did not always accurately reflect how the application was performi=
ng
when the call was made. =A0 This caused some =A0discrepancies=A0in the
data captured through our APM. =A0=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">Please let me know if this is something people would be interested
in and I would be happy to contribute the changes I have made.</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">Thanks,</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:12pt;font-family:Arial,sans=
-serif">-Marc</span></p>

--e0cb4efe2b18d02a6904c8dfff66--


--===============2071963535147557519==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
--===============2071963535147557519==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Grinder-development mailing list
Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/grinder-development

--===============2071963535147557519==--