Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] perfSONAR Grafana Integration

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] perfSONAR Grafana Integration


Chronological Thread 
  • From: Murilo Vetter <>
  • To: Shawn McKee <>
  • Cc: Mark Feit <>, perfsonar-user <>, monipe-des <>
  • Subject: Re: [perfsonar-user] perfSONAR Grafana Integration
  • Date: Thu, 18 Jul 2019 08:33:22 -0300 (BRT)

Hi Shawn/Mark,

I am impressed with the results of perfSONAR integration.
In this first moment I was wondering how things evolved and find better ways to represent perfSONAR data.
Now I have new possibilities to look forward.
In the right moment, I will come back to discuss this topic.
For now, thanks for you information.

Regards,
Murilo Vetter
RNP/Brazil



De: "Shawn McKee" <>
Para: "Mark Feit" <>
Cc: "Murilo Vetter" <>, "perfsonar-user" <>, "monipe-des" <>
Enviadas: Quarta-feira, 17 de julho de 2019 18:25:28
Assunto: Re: [perfsonar-user] perfSONAR Grafana Integration

Hi Murilo,
Sorry for the delay in responding!

The setup to get the perfSONAR data from WLCG/OSG into Grafana is a little complicated.    There are various presentations which have described the details (URL below).

Basically this is the "pipeline" we have setup to get data from our toolkit instances and get the data to various destinations:

SAND-pipeline.PNG

The code which gathers the data and puts it on the bus, as well as the code which reads data off the bus and puts it into Elasticsearch is on GitHub at https://github.com/sand-ci

The most recent relevant presentation was the the 6th SIG PMV meeting at the beginning of the month:

We can take this discussion off to a separate thread if you want to follow up or have detailed questions about what we have done.

Thanks,

Shawn


On Wed, Jul 17, 2019 at 1:56 PM Mark Feit <> wrote:

Murilo Vetter writes:

 

Does anyone know how was made the integration of perfSONAR measurements to Grafana?

 

I found something in this document:

 

Shawn can speak directly to what OSG/WLCG is doing, but I can give you some more-general information.

 

Historically, the only method for getting perfSONAR data into other systems has been to send it to Esmond and write programs to pull it from there.

 

One of the things pScheduler brought with it from day one is archiver plugins that can send results as they’re produced.  MeshConfig had been reprogrammed to use the Esmond plugin, as does the out-of-the-box pSConfig template.  However, there are also plugins that will send results to syslog, HTTP(S), RabbitMQ and, if you’re a glutton for punishment, SNMP traps.  A plugin for Kafka is in the pipeline for release with 4.2.0.  We’ve tried to cover as many of the common cases as we could, but it’s easy to write new ones for things we haven’t.

 

All of the plugins receive a blob of JSON that includes the result and as much information about the task and run as possible.  There’s a mechanism for the JSON to be transformed using a jq script before it’s handed to the plugin, so if you need special formatting, that can be done by pScheduler on your perfSONAR nodes and you don’t have to run a separate system to do it.  (Some of this is discussed in a webinar we did on jq  last year:  https://youtu.be/FrT6R75M3BE?t=2678.)

 

I did some throwaway some experimentation last year that sent data into ElasticSearch using the HTTP plugin and pulled it for display using Grafana.  It wasn’t much and the data probably wasn’t very accurate, but it was enough to prove the concept.  This is how it looked:  https://slack-files.com/T073A2Z0D-FEM1QA4LC-04a7cd4665.

 

The development team is in the early stages of looking at ways to improve the visualization component of perfSONAR.  What we have now is mostly home-grown code that requires changing to add new types of tests which, as we found out with MeshConfig, isn’t such a good thing.  Expect to hear more about this at TechEx in December.

 

Hope that’s useful.

 

--Mark

 

--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user




Archive powered by MHonArc 2.6.19.

Top of Page