Weitere ähnliche Inhalte Ähnlich wie Kapacitor Stream Processing (20) Kürzlich hochgeladen (20) Kapacitor Stream Processing2. © 2018 InfluxData. All rights reserved.2
Overview
• Introduction to Kapacitor
• Installation Process
• Explore some use cases
3. © 2018 InfluxData. All rights reserved.3
Introduction to Kapacitor
Take action on your data
Runs as separate process
5. © 2018 InfluxData. All rights reserved.5
Installation Steps
$ wget https://dl.influxdata.com/kapacitor/releases/kapacitor_1.5.0_amd64.deb
$ sudo dpkg -i kapacitor_1.5.0_amd64.deb
$ kapacitord
$ kapacitor define mytask -tick path/to/script.tick
https://docs.influxdata.com/kapacitor/latest/introduction/getting_started/
7. © 2018 InfluxData. All rights reserved.7
Flow Programing
Source Window Mean
● Data is processed at each node
● Data flows along edges
Result
9. © 2018 InfluxData. All rights reserved.9
Use Cases
• Preprocess ETL
• Postprocess ETL
• Alert on Relative Change
• Hot Cache
• Autoscale Services
• Forecast Time Series
Follow along with TICKscript using:
https://github.com/nathanielc/influxdays
15. © 2018 InfluxData. All rights reserved.15
Alert on Relative Change
Previous Current
Relative
Change
Difference
Trigger Alert
21. © 2018 InfluxData. All rights reserved.21
Forecast
Historical
Predicted
Forecast Trigger Alert
Current
23. © 2018 InfluxData. All rights reserved.23
Bring it All Together
Pick Any Combination of the use cases:
• Predictive Autoscaling
• Preprocess to clean data before forecasting
• Alert on relative change from predicted values
• Alert on autoscale events
• Hot cache autoscale metrics
24. © 2018 InfluxData. All rights reserved.24
Questions?
Twitter: @nathanielvcook
Github: nathanielc