-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send db and redis stats to librato in backed heartbeat #404
Conversation
@@ -753,10 +781,13 @@ type backend struct { | |||
db *sqlx.DB | |||
redisPool *redis.Pool | |||
storage storage.Storage | |||
awsCreds *credentials.Credentials | |||
|
|||
popScript *redis.Script |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not used
@@ -438,10 +437,39 @@ func (b *backend) Heartbeat() error { | |||
bulkSize += count | |||
} | |||
|
|||
// log our total | |||
// get our DB and redis stats |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report
@@ Coverage Diff @@
## main #404 +/- ##
==========================================
+ Coverage 71.70% 71.99% +0.29%
==========================================
Files 95 95
Lines 8269 8294 +25
==========================================
+ Hits 5929 5971 +42
+ Misses 1752 1731 -21
- Partials 588 592 +4
Continue to review full report at Codecov.
|
cf5a3fa
to
a23b58d
Compare
No description provided.