Go lang code to ruby code

Job ID: 31792559

Budget: $40 – $75 USD

Need the piece of code which is in go to be altered and written in ruby
https://cloud.google.com/kubernetes-engine/docs/tutorials/autoscaling-metrics#custom-metric_3

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.
Related categories: Golang Ruby Google Cloud Platform Kubernetes