[GeoNetwork-users] monitoring with Prometheus

Hi all,

I'm trying to monitor geonetwork using Prometheus. I know Geonetwork provides metrics at the geonetwork/monitor/metrics?pretty=true endpoint, but they are not in the Prometheus format. Hence 2 questions :

  * can someone tell me for which monitoring tool it was formatted ?
  * did someone find how to scrape these metrics using Prometheus ?

Thanks !

Best,

Jean

--

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

On Thu, Dec 20, 2018 at 5:27 PM Jean Pommier <
jean.pommier@anonymised.com> wrote:

Hi all,

I'm trying to monitor geonetwork using Prometheus. I know Geonetwork
provides metrics at the geonetwork/monitor/metrics?pretty=true endpoint,
but they are not in the Prometheus format. Hence 2 questions :

  * can someone tell me for which monitoring tool it was formatted ?
  * did someone find how to scrape these metrics using Prometheus ?

I think it is not formatted for any specific tool, but for example, you can
find a collectd [1] configuration for reading them here [2]. Metrics are
generated with a previous version of Codehale Metrics, now known as
Dropwizard Metrics [3]. Maybe you could check this integration example [4].

[1] https://collectd.org/
[2]
https://github.com/geonetwork/core-geonetwork/tree/master/monitoring/collectd

[3] https://metrics.dropwizard.io
[4]
https://www.robustperception.io/exposing-dropwizard-metrics-to-prometheus

Regards,
Juan Luis.

--

*Vriendelijke groeten / Kind regards,Juan Luis Rodríguez.
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

Hi Juan Luis,

Quite a complete answer ! Thank you a lot,

Best,

Jean

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

Le 20/12/2018 à 21:58, Juan Luis Rodríguez Ponce a écrit :

On Thu, Dec 20, 2018 at 5:27 PM Jean Pommier <jean.pommier@anonymised.com <mailto:jean.pommier@anonymised.com>> wrote:

    Hi all,

    I'm trying to monitor geonetwork using Prometheus. I know Geonetwork
    provides metrics at the geonetwork/monitor/metrics?pretty=true
    endpoint,
    but they are not in the Prometheus format. Hence 2 questions :

     * can someone tell me for which monitoring tool it was formatted ?
     * did someone find how to scrape these metrics using Prometheus ?

I think it is not formatted for any specific tool, but for example, you can find a collectd [1] configuration for reading them here [2]. Metrics are generated with a previous version of Codehale Metrics, now known as Dropwizard Metrics [3]. Maybe you could check this integration example [4].

[1] https://collectd.org/
[2] https://github.com/geonetwork/core-geonetwork/tree/master/monitoring/collectd

[3] https://metrics.dropwizard.io
[4] https://www.robustperception.io/exposing-dropwizard-metrics-to-prometheus

Regards,
Juan Luis.

--
***
Vriendelijke groeten / Kind regards,

Juan Luis Rodríguez.

<http://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664 <tel:+31318416664>

<https://www.facebook.com/geocatbv&gt;&lt;https://twitter.com/geocat_bv&gt;&lt;https://plus.google.com/u/1/+GeocatNetbv/posts&gt;

Please consider the environment before printing this email.
***

Hi all,

I would like to add a simple modification to the page catalog.search#/metada/... = just remove one tag.
So I modified the file : catalog/views/default/templates/recordView.html then I clear the XLink, the JS and the CSS cache in the UI
But the changes are not visible. What did I miss ?

Thank you for your help.

Regards,
ArnO

Le 2018-12-21 08:18, Jean Pommier a écrit :

Hi Juan Luis,

Quite a complete answer ! Thank you a lot,

Best,

Jean

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

Le 20/12/2018 à 21:58, Juan Luis Rodríguez Ponce a écrit :

On Thu, Dec 20, 2018 at 5:27 PM Jean Pommier <jean.pommier@anonymised.com <mailto:jean.pommier@anonymised.com>> wrote:

    Hi all,

    I'm trying to monitor geonetwork using Prometheus. I know Geonetwork
    provides metrics at the geonetwork/monitor/metrics?pretty=true
    endpoint,
    but they are not in the Prometheus format. Hence 2 questions :

     * can someone tell me for which monitoring tool it was formatted ?
     * did someone find how to scrape these metrics using Prometheus ?

I think it is not formatted for any specific tool, but for example, you can find a collectd [1] configuration for reading them here [2]. Metrics are generated with a previous version of Codehale Metrics, now known as Dropwizard Metrics [3]. Maybe you could check this integration example [4].

[1] https://collectd.org/
[2] https://github.com/geonetwork/core-geonetwork/tree/master/monitoring/collectd [3] https://metrics.dropwizard.io
[4] https://www.robustperception.io/exposing-dropwizard-metrics-to-prometheus

Regards,
Juan Luis.

-- ***
Vriendelijke groeten / Kind regards,

Juan Luis Rodríguez.

<http://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664 <tel:+31318416664>

<https://www.facebook.com/geocatbv&gt;&lt;https://twitter.com/geocat_bv&gt;&lt;https://plus.google.com/u/1/+GeocatNetbv/posts&gt;

Please consider the environment before printing this email.
***

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Arnaud JEAN-CHARLES
Chargé de projet Web-SIG LabEx DRIIHM
http://driihm.fr
CNRS - INEE - ECCOREV (Unité FR3098)
Europôle méditerranéen de L'Arbois
Bât du CEREGE - BP 80
13545 Aix en Provence Cedex 4
Tel : 04 42 97 15 07