Skip to content

GlobalNOC/globalnoc-worldview-panel

Repository files navigation

GlobalNOC Worldview Panel

The Worldview Map Panel is a world map that provides the ability to monitor and visualize realtime traffic statistics. It uses timeseries data to represent traffic between nodes as circuits. It provides this information when hovered over the circuits and nodes.

Intro Image

Features

The Worldview Map Panel also provides the ability to configure different map options and display options.

Documentation

For more information on how to use the Worldview Panel, check out our Documentation Page

Installation

  1. Install dependencies

    yarn install
  2. Build plugin in development mode or run in watch mode

    yarn dev

    or

    yarn watch
  3. Build plugin in production mode

    yarn build
  4. Create a symlink to the globalnoc-worldview-panel/dist directory or place the globalnoc-worldview-panel/dist directory inside Grafana's plugin directory

Using Atlas Editor To Edit Custom Maps

Editor Map

Clicking on the pen in the upper right corner toggles the atlas editor. The toolbar displays the set of all tools available to edit a map:

Icon Tool Description
Add Node Add new nodes to the map
Add Circuit Add new circuits to the map
Edit Node Edit existing nodes
Edit Lines Edit existing circuits
Get JSON Get Atlas4 formatted map JSON
Set Topology Import map from JSON
Edit Topology Edit Topology Features

Add curves to circuit

To add curves to a circuit, select Edit Lines from the toolbar and click on the circuit that needs to be edited. Double click the circuit's anchor point which would have turned red in color. That would open a window in the sidebar on the right.

To add a cubic bezier curve, set the point type as C. To add a quadratic bezier curve, choose Q. To change the curve back to a line, choose L. If C or Q are selected, a green waypoint should appear in the middle of the circuit. Drag the waypoint to a desired location to change the magnitude of the curve.

Add Line Curve

Change map logo, description, link etc.

Select Edit Topology . Click on Manage Properties that will open a form. Add/Edit top level map metadata in the form and press save to finalize the changes.