Need the piece of code which is in go to be altered and written in ruby
[login to view URL]
the code should be tested to see if custom metrics really work and also based on some improvisation,
some back and forth changes(subtle changes) will be needed.
around 75lines of code needs to be converted to ruby and test