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
Install-Package TECHIS.Cloud.ActivityMetrics.Reactions -Version 1.0.0
dotnet add package TECHIS.Cloud.ActivityMetrics.Reactions --version 1.0.0
<PackageReference Include="TECHIS.Cloud.ActivityMetrics.Reactions" Version="1.0.0" />
paket add TECHIS.Cloud.ActivityMetrics.Reactions --version 1.0.0
Changed names in the Settings class
- TECHIS.Cloud.ActivityMetrics.AzureTable (>= 1.0.0)
This package is not used by any popular GitHub repositories.