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

Adding logging sink for debugging stats #7

Merged
merged 1 commit into from
Apr 5, 2017
Merged

Adding logging sink for debugging stats #7

merged 1 commit into from
Apr 5, 2017

Conversation

twoism
Copy link
Contributor

@twoism twoism commented Apr 5, 2017

This branch adds a logging Sink and configures it when the USE_STATSD environment variable is set to false. We use this internally for debugging stats in development.

logger.Infof("[gostats] flushing counter %s: %d", name, value)
}

func (s *loggingSink) FlushGauge(name string, value uint64) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

guage -> gauge

@junr03 junr03 merged commit a81eedf into master Apr 5, 2017
@junr03 junr03 deleted the logging-sink branch April 5, 2017 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants