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.