这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Conversation

@gbrayut
Copy link
Contributor

@gbrayut gbrayut commented Mar 1, 2016

Updated version of #1263 rebased on current master and with more documentation

anders-at-spark and others added 3 commits February 29, 2016 17:12
Negative filter patterns ("-" prefix),
Added time_total metric to httpunit collector,
Freq setting for HTTPUnit collectors.
also add a log message when metrics are being filtered since I spent 20 minutes trying to figure out why my -p and -f tests were not working

closes #1263

func HTTPUnitPlans(name string, plans *httpunit.Plans) {
func HTTPUnitPlans(name string, plans *httpunit.Plans, freq time.Duration) {
if freq < 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.

this seems a bit odd to me. If they didn't set it, and it was zero, I would understand. But if they set 15 expecting it to be seconds or minutes or who knows what, 5 mins is an odd default. Maybe error with a helpful message?

@captncraig
Copy link
Contributor

Other than craig being confused about timings, it looks good to me.

@gbrayut
Copy link
Contributor Author

gbrayut commented Mar 1, 2016

@captncraig I changed it to use a duration string... will be clearer in the config files

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants