Cloud. ActivityMetrics. Reactions
Track user reactions and generate metrics against those reactions.
A reaction, being a specialized form of an occurance, this package is suitable for occurances that has the following properties;
Subject Id (Integer)
Subject Type Id (String)
Restricting SubjectId to integer allows us to perform range queries against SubjectId with predictable results.
Given the above restrictions, we can state that this package tracks occurances and generates metrics against those occurances.
To Add an occurance, call:
To generate the Count Metric, call:
To read the Count Metric, call;
The Count Metric is the only metric generator that is included in this package. Let us know which other metrics you would like.
This package depends on TECHIS.Cloud.ActivityMetrics.AzureTable which uses the Microsoft.Azure.CosmosDB.Table. This is the new Azure Table API which can target either CosmosDB or Azure Storage Tables.
This package will create 3 tables:
A) An occurances table
B) A Metrics table
C) A Metrics history table
Changed names in the Settings class
- TECHIS.Cloud.ActivityMetrics.AzureTable (>= 0.3.0.1-preview)