Skip to content

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.

4 participants