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

Using new metrics lib. #38

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Using new metrics lib. #38

wants to merge 8 commits into from

Conversation

dukelion
Copy link

API changed, need to merge PR in iron-io/go to build runner docker image

config.GCStats = 1
}
metricsConfig.EnableRuntimeMetrics = true
metricsConfig.ProfileInterval = time.Duration(config.Interval * float64(time.Second))
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe time.Duration(config.Interval) * time.Second instead of time.Duration(config.Interval * float64(time.Second)) to omit float64() ?

@@ -1,139 +1,59 @@
// Copyright 2016 Iron.io
Copy link
Contributor

Choose a reason for hiding this comment

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

It's an open repo, and all other files contain this license info (please refer to #10).
I'd like to retain license info here.

}

func (s *MultiStatter) NewTimer(component string, stat string, rate float32) *Timer {
return newTimer(s, component, stat, rate)
func AsStatField(input string) string {
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like AsStatField() is not in use anywhere.

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.

3 participants