Skip to content

An OPC UA datasource for reading from OPC UA servers (DA/HDA/AE) into Grafana directly

License

Notifications You must be signed in to change notification settings

jhunthrop/grafana-opcua-datasource

 
 

Repository files navigation

grafana-opcua-datasource

An OPC UA datasource for reading from OPC UA servers (DA/HDA/AE) into Grafana directly

full dashboard

Important

Currently beta quality

What works

  • Browsing servers
  • Graphical query editor
  • HDA queries
  • Multiple servers/datasources
  • Authentication with certificates
  • No security connections (but probably not useful)

What needs to be implemented

  • OPCUA DA requests (subscriptions etc)
  • OPCUA AE
  • Password authentication

Description and Architecture

This plugin uses GRPC and a C# backend to communicated to the grafana backend directly. See pkg/dotnet directory for the backend component

Building

  • yarn install to install dependencies
  • yarn build | yarn dev to build the plugin
  • make build to build the backend component

Restart Grafana and you should have the datasource installed.

Contributing

See the list of features above. Happy with any contributions including QA/testing

Q&A

Q: Can it read OPC Classic DA/HDA/AE? A: Yes, provided use use the OPC Foundations COMIOP wrapper, which you can find here. You will need to configure IOP to wrap your OPC COM server. Tested against Matrikon OPC Desktop Historian and Matrikon OPC Simulation Server.

Vision

The OPC UA datasource should be

  • Easy to use
  • Graphically configurable
  • Smart (ie: Able to use metadata from the browsing of tags to ease configuration in whatever panel the datasource is interacting with)
  • Robust and Reliable (of course!)

About

An OPC UA datasource for reading from OPC UA servers (DA/HDA/AE) into Grafana directly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 64.8%
  • CSS 18.4%
  • C# 12.5%
  • Go 2.7%
  • TypeScript 0.9%
  • CMake 0.4%
  • Other 0.3%