Skip to content
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

more stats #121

Merged
merged 1 commit into from Feb 4, 2020
Merged

more stats #121

merged 1 commit into from Feb 4, 2020

Conversation

@mmaxim
Copy link
Contributor

mmaxim commented Feb 4, 2020

No description provided.

@mmaxim mmaxim requested a review from keybase/bot-hackers Feb 4, 2020
@mmaxim mmaxim merged commit 1a72b44 into master Feb 4, 2020
0 of 2 checks passed
0 of 2 checks passed
Travis CI - Pull Request Build Failed
Details
Travis CI - Branch Build Started
Details
@mmaxim mmaxim deleted the mike/webhookstats branch Feb 4, 2020
@@ -118,6 +120,7 @@ func (h *Handler) handleCreate(cmd string, msg chat1.MsgSummary) error {
return err
}

h.stats.Count("create")
}

func NewHTTPSrv(stats *base.StatsRegistry, debugConfig *base.ChatDebugOutputConfig, db *DB) *HTTPSrv {
h := &HTTPSrv{
db: db,
db: db,
stats: stats.SetPrefix("HTTPSrv"),

This comment has been minimized.

Copy link
@joshblum

joshblum Feb 4, 2020

Member

stats is present on *base.HTTPSrv, no need to add here access with h.Stats

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.