close
The Wayback Machine - https://web.archive.org/web/20201115061659/https://github.com/KeckObservatory/epics-grafana-datasource
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
pkg
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

EPICS Archiver Appliance Grafana Data Source Backend

This backend plugin provides a Grafana connection to the SLAC EPICS archiver appliance.

The plugin was written by Paul Richards (prichards@keck.hawaii.edu) based on the Grafana backend plugin SDK, in a mixture of Go and Typescript. It is in regular use at the Keck Observatory with Grafana 7.1, and is periodically enhanced for our data analysis needs.

Building

Installation on a Fedora/CentOS system should be similar to other Linux installs. This is not an exhaustive list of steps, your install will vary.

  • Install Grafana 7.

  • Install Go.

  • Install node and yarn.

curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash -
yum makecache
yum install -y nodejs

curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo
yum install -y yarn
  • Clone this git repo to your plugins directory.

  • Get the SDK plugin for Go.

go get -u github.com/grafana/grafana-plugin-sdk-go
  • Clone mage into the plugin.
git clone https://github.com/magefile/mage
cd mage ; go run bootstrap.go ; cd ..
mage -v
  • Build the plugin
yarn install --ignore-engines
yarn build
mage -v
  • Link the plugin to your Grafana installation (this will vary based on where yours is installed).

  • Allow loading of unsigned plugins in Grafana. Your grafana.ini may be elsewhere.

vi /etc/grafana/grafana.ini
# Enter a comma-separated list of plugin identifiers to identify plugins that are allowed to be loaded even if they lack a valid signature. 
allow_loading_unsigned_plugins = keck-observatory-epics-grafana-datasource
  • Restart Grafana to pick up the plugin.

About

Grafana backend datasource plugin for the EPICS Channel Archiver

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.