Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
samplestream:start [2024/04/18 00:37]
optrix created
samplestream:start [2024/04/24 03:02] (current)
optrix
Line 6: Line 6:
 *  Applications where you need to search for events across time-windows, \\ *  Applications where you need to search for events across time-windows, \\
 *  When you need very reliable 'bucketing' of data over even amounts of time \\ *  When you need very reliable 'bucketing' of data over even amounts of time \\
 +*  When you need to correct for lag based on a measurement rather than a fixed time\\
  
-===How It Works===+===Key Classes/Features===
  
-SampleStream lets you //iterate// over a query.+The key classes in the library are...
  
-SampleStream takes an AQL request, a [[window size|window size]], a [[number of samples|number of samples]] and a [[step size|step size]].+[[ssintro|samplestream]], used to scan over time-frames, build time-series AI and search for high-resolution or long-timeframe issues.
  
-Every time you ask SampleStream for the next sample of datait returns the data for //window size// seconds of data, broken into //number of samples// buckets.+[[class_LagCorrection|LagCorrection]]used to measure the total amount of [[data-driven lag]] between two points in timeand
  
-For exampleif you wanted to look at events happening over a 30 second window at 1 second resolution, your **window size** would be 30 and your **number of samples** would also be 30 (30 samples over 30 seconds = 1 sample per second).+[[class_LagCorrectedQuery|LagCorrectedQuery]]used to create historical queries with lag-corrected data.
  
-The next time you ask for a sample of data, it will be //step size// seconds away from the previous sample. 
- 
-This makes it quite easy to scan over a period of time. 
- 
-[[Why is it different to a normal query?]] 
- 
- 
- 
-The //window size// determines how many of seconds of data  
- 
-Instead of requesting very large chunks of time, SampleStream only requests the time around the current