Collector

VisualEdge Receiver

The VisualEdge Receiver monitors a VisualEdge installation on the local host and emits installation, release, and licence information as OpenTelemetry metrics.

VisualEdge Receiver
PropertyValue
Component IDvisualedgereceiver
TypeReceiver
SignalMetrics
AvailabilityPHO Collector distribution

Capabilities

  • Reports whether the VisualEdge installation is available.
  • Reports the VisualEdge release version and release time.
  • Reports the installed MosaicOAPI version.
  • Reports the VisualEdge licence end date and remaining days.
  • Provides a bounded status value suitable for dashboards and alerts.

Prerequisites

  • The Collector must run on the VisualEdge host or have equivalent access to its installation paths.
  • The Collector service account must be able to read the configured directories and files.
  • A PHO licence containing a visualedgereceiver entitlement.

Configuration

Configuration
SettingRequiredDefaultDescription
collection_intervalNo30sCollection frequency
timeoutNo10sMaximum collection duration
ui_dirYes/opt/VisualEdge/server/webapps/ROOT/VisualEdgeUIVisualEdge UI installation directory
gui_version_fileYes/opt/VisualEdge/server/webapps/ROOT/VisualEdgeUI/VisualEdgeGUIVersion.txtVisualEdge release-version file
servlet_lib_dirYes/opt/VisualEdge/server/webapps/ROOT/VisualEdgeServlet/WEB-INF/libVisualEdge servlet library directory
mosaicoapi_jarYes/opt/VisualEdge/server/webapps/ROOT/VisualEdgeServlet/WEB-INF/lib/MosaicOAPI-jar-with-dependencies.jarInstalled MosaicOAPI package
license_fileYes/opt/VisualEdge/licence.txtVisualEdge licence file

Example

extensions:
  pho_license:
    file: /etc/otelcol/license.json

receivers:
  visualedgereceiver:
    collection_interval: 30s
    timeout: 10s
    ui_dir: /opt/VisualEdge/server/webapps/ROOT/VisualEdgeUI
    gui_version_file: /opt/VisualEdge/server/webapps/ROOT/VisualEdgeUI/VisualEdgeGUIVersion.txt
    servlet_lib_dir: /opt/VisualEdge/server/webapps/ROOT/VisualEdgeServlet/WEB-INF/lib
    mosaicoapi_jar: /opt/VisualEdge/server/webapps/ROOT/VisualEdgeServlet/WEB-INF/lib/MosaicOAPI-jar-with-dependencies.jar
    license_file: /opt/VisualEdge/licence.txt

processors:
  batch: {}

exporters:
  otlp:
    endpoint: telemetry-gateway.example.com:4317

service:
  extensions: [pho_license]
  pipelines:
    metrics:
      receivers: [visualedgereceiver]
      processors: [batch]
      exporters: [otlp]

Telemetry

Telemetry
MetricUnitDescription
visualedge.installation.available11 when the installation is available; otherwise 0
visualedge.release.info1VisualEdge version, release time, and MosaicOAPI version
visualedge.licence.info1VisualEdge licence end-date information
visualedge.licence.days_remainingdDays remaining before licence expiry

The release metric supplies:

  • visualedge.release.version
  • visualedge.release.time
  • visualedge.mosaicoapi.jar.version

The licence metric supplies visualedge.licence.end_date.

Status values

The visualedge.status attribute identifies the collection state:

Status values
StatusMeaning
okInstallation information was collected successfully
missing_pathA required installation directory is unavailable
missing_fileA required file is unavailable
parse_errorA configured file could not be interpreted

When a required installation directory is unavailable, visualedge.installation.available reports 0. When the installation is available but an individual metadata source cannot be read, the availability metric remains usable and the status identifies the problem.

  • Alert when visualedge.installation.available is 0.
  • Alert when visualedge.licence.days_remaining reaches the organisation’s renewal threshold.
  • Display visualedge.release.info in inventory and release-verification dashboards.
  • Group or filter alerts using visualedge.status.

Troubleshooting

Troubleshooting
SymptomRecommended action
Installation availability is 0Inspect visualedge.status and verify the configured paths
Release information is absentConfirm the GUI version file and MosaicOAPI package are readable
Licence days are absentConfirm the VisualEdge licence file contains a supported end date
Receiver fails at startupConfirm every configured path is non-empty and the PHO licence grants capacity

Confirm