You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Egor 39ee0982e8 Merge branch 'master' of https://github.com/hastic/hastic-grafana-graph-panel 7 years ago
assets add light theme mag and pin icons 7 years ago
build Add src 7 years ago
dist Fix pattern type disappear after anomaly creating 7 years ago
examples 162-remove-analytics-types 7 years ago
src Fix pattern type disappear after anomaly creating 7 years ago
.gitignore Add src 7 years ago
LICENSE Initial commit 7 years ago
README.md add temp items about mag glass icon and pin icons 7 years ago
package-lock.json hastick name 7 years ago
package.json hastick name 7 years ago
tsconfig.json Add src 7 years ago

README.md

Hastic Graph Panel

A better version of default Grafana's Graph Panel. Can render Anomalies & more. In order to detect anomalies and make predictions, you need to install: https://github.com/hastic/hastic-server You need Grafana version 5.1.1 or more

Installation

Clone repo

cd $GRAFANA_PATH/data/plugins
git clone git@github.com:hastic/hastic-grafana-graph-panel.git

and restart your $GRAFANA_PATH/bin/grafana-server server.

Usage

You should have hastic-server running to use anomaly detection.

  • open new dasboard where you want to see Hastic panel
  • open Dashboard Settings (top right corner) and then Varables
  • Add new Constant variable with name equals to HASTIC_SERVER_URL and value with URL of your hastic-server instance (e.g. http://localhost:8000) in your dashboard
  • Save settings and close Settings window
  • set one metrics in Metrics tab. Only one metric suported
  • go to Analytics tab and create new anomaly
  • label your data:
    • click button with chart icon
    • highlight anomalies on graph holding Ctrl button on Windows or Cmd on Mac
    • when you finished labeling - click button with chart icon once more. saving... status should appear.
  • you should see Learning status while hastic-server is learning (first learning can take a while).
  • when Learning status dissapear - you should see anomalies labeled in your graph
  • this icon means that the anomaly was marked by the server
  • this icon means that the anomaly was marked by the user

Development

Build

npm install
npm run build

Changelog

[Improvements]

  • You can zoom during update

Credits

Based on