Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] How to fix a PWA psconfig file to work with opensearch and Grafana graphs

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] How to fix a PWA psconfig file to work with opensearch and Grafana graphs


Chronological Thread 
  • From: Johann Hugo <>
  • To:
  • Subject: [perfsonar-user] How to fix a PWA psconfig file to work with opensearch and Grafana graphs
  • Date: Mon, 26 May 2025 16:42:43 +0200

Hi all

I'm using PWA to create my psconfig files. PWA does not have opensearch support by default, but it can be added with some inline JSON code under Archive Custom JSON. E.g.
      "archiver": "http",
      "data": {
        "schema": 3,
        "_url": "http://perf-dash.sanren.ac.za/logstash",
        "verify-ssl": false,
        "op": "put",
        "_headers": {
          "x-ps-observer": "{% scheduled_by_address %}",
          "content-type": "application/json"
        }
      }
    }
Next issue is that PWA puts the "display-name" for a mesh under the "_meta" section (works for MadDash) but it does not create a section called "reference" that has a "display-task-name" under it. The Grafana mesh dashboard only works if one adds a "reference" section by hand after creating the PWA psconfig file.

  "tasks": {
    "100G latency": {
      "group": "100G latency",
      "test": "100G latency",
      "archives": [
        "custom-67fcbe1899c4260024ce8bb8"
      ],
      "_meta": {
        "display-name": "100G latency"
      },
      "reference": {
        "display-task-name": "100G latency",
        "display-task-group": [
          "SANReN-100G"
        ]
      }

    },
    "100g throughput": {
      "group": "100g throughput",
      "test": "100g throughput",
      "archives": [
        "custom-67fcbe1899c4260024ce8bb8"
      ],
      "_meta": {
        "display-name": "100G throughput"
      },
      "schedule": "sched-0",
      "tools": [
        "iperf3"
      ],
      "reference": {
        "display-task-name": "100G throughput",
        "display-task-group": [
          "SANReN-100G"
        ]
      }

    }
  },

Use psconfig publish to publish the modified pcsonfig.json file.

The mesh graphs should be visible under the Grafana "perfSONAR pSConfig" menu, even if psconfig stats grafana shows 0 tasks.

Regards
Johann


  • [perfsonar-user] How to fix a PWA psconfig file to work with opensearch and Grafana graphs, Johann Hugo, 05/26/2025

Archive powered by MHonArc 2.6.24.

Top of Page