added failing follower statistics
This commit is contained in:
parent
98e869f064
commit
767b552929
3 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,7 @@ namespace BirdsiteLive.Controllers
|
|||
var stats = new Models.StatisticsModels.Statistics
|
||||
{
|
||||
FollowersCount = await _followersDal.GetFollowersCountAsync(),
|
||||
FailingFollowersCount = await _followersDal.GetFailingFollowersCountAsync(),
|
||||
TwitterUserCount = await _twitterUserDal.GetTwitterUsersCountAsync(),
|
||||
TwitterStatistics = _twitterStatistics.GetStatistics(),
|
||||
ExtractionStatistics = _extractionStatistics.GetStatistics(),
|
||||
|
|
|
@ -6,8 +6,10 @@ namespace BirdsiteLive.Models.StatisticsModels
|
|||
public class Statistics
|
||||
{
|
||||
public int FollowersCount { get; set; }
|
||||
public int FailingFollowersCount { get; set; }
|
||||
public int TwitterUserCount { get; set; }
|
||||
public ApiStatistics TwitterStatistics { get; set; }
|
||||
public ExtractionStatistics ExtractionStatistics { get; set; }
|
||||
|
||||
}
|
||||
}
|
|
@ -10,6 +10,7 @@
|
|||
<ul>
|
||||
<li>Twitter Users: @Model.TwitterUserCount</li>
|
||||
<li>Followers: @Model.FollowersCount</li>
|
||||
<li>Failing Followers: @Model.FailingFollowersCount</li>
|
||||
</ul>
|
||||
|
||||
<h4>Twitter API (Min, Avg, Max for the last 24h)</h4>
|
||||
|
|
Reference in a new issue