TECHIS.Cloud.ActivityMetrics.Reactions NuGet Package

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)
Value (String)
ValueType (String)
Actor (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:
Activity.AddAsync([parameters])

To generate the Count Metric, call:
MetricsCountWriter.Write()

To read the Count Metric, call;
MetricsReader.QueryAsync([parameters])
OR
MetricsReader.QueryPointsAsync([parameters])
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.




Got any TECHIS.Cloud.ActivityMetrics.Reactions Question?





Info

Version: 2.0.0
Author(s): Arinze, TECH-IS
Last Update: Friday, July 15, 2022
.NET Fiddle: Create the first Fiddle
Project Url: http://techinceptions.com/support/packages/Activity-Metrics
NuGet Url: https://www.nuget.org/packages/TECHIS.Cloud.ActivityMetrics.Reactions


Install
Install-Package TECHIS.Cloud.ActivityMetrics.Reactions
dotnet add package TECHIS.Cloud.ActivityMetrics.Reactions
paket add TECHIS.Cloud.ActivityMetrics.Reactions
TECHIS.Cloud.ActivityMetrics.Reactions Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.8

avg-downloads-per-day

3

days-since-last-release

860