SeanTAllen changed the topic of #wallaroo to: Welcome! Please check out our Code of Conduct -> https://github.com/WallarooLabs/wallaroo/blob/master/CODE_OF_CONDUCT.md | Public IRC Logs are available at -> https://irclog.whitequark.org/wallaroo
aturley has joined #wallaroo
aturley has quit [Quit: aturley]
jonbrwn_ has joined #wallaroo
jonbrwn has quit [Ping timeout: 256 seconds]
jonbrwn_ is now known as jonbrwn
camonz has joined #wallaroo
<camonz> hi, is there a guide somewhere to get wallaroo running
<camonz> I want to submit a PR to refactor https://github.com/WallarooLabs/wallaroo/blob/master/monitoring_hub/apps/metrics_reporter/lib/metrics_reporter/latency_stats_calculator.ex but I'll need some sample data to write some tests for it
vaninwagen has joined #wallaroo
aturley has joined #wallaroo
dch has quit [Ping timeout: 276 seconds]
<SeanTAllen> hi camonz
vaninwagen has quit [Ping timeout: 276 seconds]
<camonz> SeanTAllen: thanks, I'll take a look later on today
vaninwagen has joined #wallaroo
<jonbrwn> camonz: I've opened a PR with a minimal test case for the public facing functions, I'll let you know once that's merged.
<camonz> awesome :)
vaninwagen has quit [Ping timeout: 240 seconds]
<jonbrwn> camonz: the tests have been merged, should be enough for you to comfortably refactor without needing sample data
<camonz> jonbrwn: thanks, I appreciate it
<jonbrwn> camonz: thank you for wanting to contribute, if you have any questions feel free to ping me
<camonz> will do, I touched the codebase a bit yesterday but didn't feel comfortable touching what seemed like critical parts
<camonz> but, there was simple stuff like moving get_percentiles to a module attr
<camonz> or defp calculate_latency_bins_total(bins) do: Map.values(bins) |> Enum.sum()
<camonz> instead of getting the keys, then using a reduce to fetch the item at key and doing the sum
<jonbrwn> cool, look forward to seeing what you come back with. that was some of the first elixir code I wrote so I'm sure it could be cleaned up a bit
<camonz> I figured from the commits history, it's almost 2yrs old
<camonz> but it seemed like one of the biggest offenders
<camonz> I found the project through a blogpost and decided to take a look at the src
<jonbrwn> where'd you come across the blog post?
<camonz> think I saw it on /r/elixir
<jonbrwn> nice
camonz has quit [Ping timeout: 264 seconds]