Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

What is Trend Detection?

The Trend Detection service can now be used with the Squirro client. The Trend Detection analysis can be used to detect unusual trends in the time series generated by the number-of-items per time-unit in a particular project for a particular query. The detection of unusual trends is done by learning from the historical/old data to auto-compute a reasonable threshold. So, in order for it to work properly it is important that we have historical data.

...

How to set up Trend Detection?

In The Trend Detection service can now be used with the Squirro client. In order to set up a new trend-detection on an existing project, one can use the `new_trenddetection` method of the squirro client to set up the trend detection for a particular query `q` on a project with project-id `project-id`. A valid email-address is required for generating an email-alert when something unusual is detected for a particular query-projectid pair. Parameter `aggregation_interval` controls the discretization of the time series (`time-unit` parameter above) before initiating the trend-detection analysis. An example usage can beseen below.

...