Fork me on GitHub
#onyx
<
2015-11-26
>
michaeldrogalis02:11:28

New docs: idioms for testing Onyx code / having a very smooth repl experience - https://github.com/onyx-platform/onyx/blob/develop/doc/user-guide/testing-onyx-jobs.md

yusup04:11:07

This is awesome. It was taking too much time to reload everything.

robert-stuttaford08:11:45

hey @lucasbradstreet simple_smile turns out DataDog’s agent has a statsd implementation, so we actually don’t need riemann at all… if we can ship from Onyx to statsd directly. are you aware of anyone who might already be doing this?

robert-stuttaford08:11:56

otherwise, we might be positioned to contribute something back, finally simple_smile

lucasbradstreet08:11:49

Ah cool. I don’t know anyone who is doing so

lucasbradstreet08:11:23

I refactored the metrics plugin recently, so it should be very little work for you to do so

lucasbradstreet08:11:35

All you need to do is supply your own sender-fn: :metrics/sender-fn :onyx.lifecycle.metrics.timbre/timbre-sender

lucasbradstreet08:11:15

You’ll probably have to transform the metrics-msg values you’re taking off the channel into the appropriate form

robert-stuttaford08:11:32

great. sounds like we need to upgrade to 0.8.1 first?

lucasbradstreet08:11:39

Yeah, you probably should

greywolve08:11:39

@lucasbradstreet: hey simple_smile just a quick question about metrics, is there any reason there isn't a 'max' for the past 60s option for latency? would you accept a PR for one?

lucasbradstreet08:11:46

think I need you to clarify that a little, what do you mean by max?

lucasbradstreet08:11:30

For latency measurements we record each latency measurement for 10 seconds, then calculate all the percentiles of the recordings, then clear the measurer

greywolve08:11:52

instead of stopping at the 99.9th percentile of the last 60s, include the maximum value for the last 60s aswell

lucasbradstreet08:11:56

if you’re seeing a 60s option / maximums, etc, it might be a feature of datadog

lucasbradstreet08:11:10

Ah, I see what you mean

lucasbradstreet08:11:23

I think we only do it over 10s though?

greywolve08:11:29

graphing the max is more useful apparently (according to guys like Gil Tene)

lucasbradstreet08:11:19

Ah yes, I think I’ve read some of his other stuff.

greywolve08:11:48

should be pretty simple to just include the max in all of those right? i'd be happy to give you a PR for that simple_smile

greywolve08:11:19

ahh yeah i see its over the last 10s

greywolve08:11:47

was mistaking the 60s for throughput

lucasbradstreet08:11:20

I think if you can get a max out of the data structure we put the measurements in, you’d be sweet

lucasbradstreet08:11:35

I’ll take a patch for that

greywolve08:11:06

sweet thanks!

robert-stuttaford08:11:27

@lucasbradstreet: would you take a PR for a statsd writer?

robert-stuttaford08:11:44

yay. we get to contribute back!

robert-stuttaford08:11:10

we’re starting to colour inside the lines finally 😁

lucasbradstreet20:11:55

@robert-stuttaford, @greywolve: 0.8.2 (and plugins 0.8.2.0) are all releasing now

lucasbradstreet20:11:13

metrics was released with the max latency improvement you PR’d. Thanks.