[Geoserver-devel] Monitoring module statistics

Hi all,
I'd like to extend geoserver monitoring plugin adding statistical capabilities.

My intention is to provide a rest interface to return statistics based on the RequestData class.

The stats will be created on the fly aggregating data using org.geotools.math.Statistics basing the collection on the query parameters:

1. the aggregation will be selected by the 'group' parameter and will be available for each member of the RequestData class
2. the 'filter' parameter will be available for each member of the RequestData

I'd like to collect stats in an external monitoring tool (f.e.: nagios) so the mode will be live and the data will be queried filtering by date.

Ideas? proposals? suggestions? Encouragements? Are you interested (need more details?) ?

Best regards,

Carlo Cancellieri - GeoSolutions SAS

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Dott. Carlo Cancellieri
@cancellieric
Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
mobile: +39 3371094494
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Very interested :slight_smile: I guess a few questions.

How do you see this fitting into the current rest api for monitoring? It would be great to sketch out the url structure with parameters together. Perhaps you can sketch out a few sample requests that you have planned?

···

Aside, i also have some work planned for the module but it should be orthogonal to what you have planned. What i would like to do is factor out the hibernate backend into a separate module, rather than have the monitor configure it by default.

On Wed, Nov 28, 2012 at 11:40 AM, Carlo Cancellieri <ccancellieri@anonymised.com> wrote:

Hi all,
I’d like to extend geoserver monitoring plugin adding statistical capabilities.

My intention is to provide a rest interface to return statistics based on the RequestData class.

The stats will be created on the fly aggregating data using org.geotools.math.Statistics basing the collection on the query parameters:

  1. the aggregation will be selected by the ‘group’ parameter and will be available for each member of the RequestData class
  2. the ‘filter’ parameter will be available for each member of the RequestData

I’d like to collect stats in an external monitoring tool (f.e.: nagios) so the mode will be live and the data will be queried filtering by date.

Ideas? proposals? suggestions? Encouragements? Are you interested (need more details?) ?

Best regards,

Carlo Cancellieri - GeoSolutions SAS

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Dott. Carlo Cancellieri
@cancellieric
Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
mobile: +39 3371094494
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it



Keep yourself connected to Go Parallel:
INSIGHTS What’s next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

http://office.geo-solutions.it/jenkins/

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Any ETA? I am currently experiencing build failure on windows.

What failure are you seeing?

On 18/12/12 15:27, Victor.Tey@anonymised.com wrote:

I am currently experiencing build failure on windows.

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

On Tue, Dec 18, 2012 at 8:27 AM, <Victor.Tey@anonymised.com> wrote:

http://office.geo-solutions.it/jenkins/

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Any ETA? I am currently experiencing build failure on windows.

I can’t connect to the build box either. About the ETA, the request seems to imply that if and when the
build server is reachable again, the build will be fixed: newsflash, it won’t.
A few concise facts about the windows build server:

  • it is a voluntary effort made by a Linux developer disappointed by Windows people not keeping
    the build up, and trying to give them a nudge, help them out a bit (with the gracious help
    of the company he works for, that bought the windows license and is dedicating part of
    their hardware and bandwidth to the task).
  • the PSC has made no vow to keep the build server going, or to mark that build server as a
    reference that has to be kept up (mostly because the people that normally volunteer to
    to do stuff are not using Windows)
  • when I set that up a mailing list for extra builds has also been setup for people that want
    to be informed of build failures (and possibly do something about it), of the current
    subscribers there is exactly zero windows users

I’ll see that the build server is put up back and running, but about having the build work in
a short time, I’d suggest you try to fix it yourself and do a pull request.
Otherwise I’ll do it myself, once I’m done with reviewing pull requests, contributed patches in
jira, fixing currently failing cite tests and possibly getting some rest: might take some weeks,
but I’ll get there.

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


No problem,

Thanks Andrea J I just wanted to see if the error I received is local to my machine or whether is it window wide which is why I didn’t post any of the errors I received.

Thanks.

From: andrea.aime@anonymised.com [mailto:andrea.aime@…403…] On Behalf Of Andrea Aime
Sent: Tuesday, 18 December 2012 4:20 PM
To: Tey, Victor (CESRE, Kensington)
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] GeoServer on windows is down?

On Tue, Dec 18, 2012 at 8:27 AM, <Victor.Tey@anonymised.com> wrote:

http://office.geo-solutions.it/jenkins/

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Any ETA? I am currently experiencing build failure on windows.

I can’t connect to the build box either. About the ETA, the request seems to imply that if and when the

build server is reachable again, the build will be fixed: newsflash, it won’t.

A few concise facts about the windows build server:

  • it is a voluntary effort made by a Linux developer disappointed by Windows people not keeping

the build up, and trying to give them a nudge, help them out a bit (with the gracious help

of the company he works for, that bought the windows license and is dedicating part of

their hardware and bandwidth to the task).

  • the PSC has made no vow to keep the build server going, or to mark that build server as a

reference that has to be kept up (mostly because the people that normally volunteer to

to do stuff are not using Windows)

  • when I set that up a mailing list for extra builds has also been setup for people that want

to be informed of build failures (and possibly do something about it), of the current

subscribers there is exactly zero windows users

I’ll see that the build server is put up back and running, but about having the build work in

a short time, I’d suggest you try to fix it yourself and do a pull request.

Otherwise I’ll do it myself, once I’m done with reviewing pull requests, contributed patches in

jira, fixing currently failing cite tests and possibly getting some rest: might take some weeks,

but I’ll get there.

Cheers

Andrea

==

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

==

Ing. Andrea Aime

@geowolf

Technical Lead

GeoSolutions S.A.S.

Via Poggio alle Viti 1187

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 339 8844549

http://www.geo-solutions.it

http://twitter.com/geosolutions_it


On Tue, Dec 18, 2012 at 9:47 AM, <Victor.Tey@anonymised.com> wrote:

No problem,

Thanks Andrea J I just wanted to see if the error I received is local to my machine or whether is it window wide which is why I didn’t post any of the errors I received.

Btw, Windows build fixed:
http://office.geo-solutions.it/jenkins/job/GeoServer%20master/106/

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Justin,
thank you for your answer and sorry for delay but this is a low priority task for me, anyhow, I’ll come out with a proposal soon.
Cheers,
Carlo Cancellieri - GeoSolutions SAS


Date: Wed, 28 Nov 2012 11:59:18 -0600
Subject: Re: [Geoserver-devel] Monitoring module statistics
From: jdeolive@anonymised.com
To: ccancellieri@anonymised.com
CC: geoserver-devel@lists.sourceforge.net

Very interested :slight_smile: I guess a few questions.

How do you see this fitting into the current rest api for monitoring? It would be great to sketch out the url structure with parameters together. Perhaps you can sketch out a few sample requests that you have planned?

Aside, i also have some work planned for the module but it should be orthogonal to what you have planned. What i would like to do is factor out the hibernate backend into a separate module, rather than have the monitor configure it by default.

On Wed, Nov 28, 2012 at 11:40 AM, Carlo Cancellieri <ccancellieri@anonymised.com> wrote:

Hi all,
I’d like to extend geoserver monitoring plugin adding statistical capabilities.

My intention is to provide a rest interface to return statistics based on the RequestData class.

The stats will be created on the fly aggregating data using org.geotools.math.Statistics basing the collection on the query parameters:

  1. the aggregation will be selected by the ‘group’ parameter and will be available for each member of the RequestData class
  2. the ‘filter’ parameter will be available for each member of the RequestData

I’d like to collect stats in an external monitoring tool (f.e.: nagios) so the mode will be live and the data will be queried filtering by date.

Ideas? proposals? suggestions? Encouragements? Are you interested (need more details?) ?

Best regards,

Carlo Cancellieri - GeoSolutions SAS

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Dott. Carlo Cancellieri
@cancellieric
Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
mobile: +39 3371094494
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it



Keep yourself connected to Go Parallel:
INSIGHTS What’s next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.