package Ġru . y oom oney . tech . grafana . dsl . metrics . functions Ċ Ċ import Ġru . y oom oney . tech . grafana . dsl . metrics . Metric Ċ Ċ /** Ċ Ġ* ĠGenerator Ġfor Ġdivide Series Ġfunction Ġfor Ġgraph ite . Ġdivide Series Ġaccepts Ċ Ġ* Ġtwo Ġmetrics Ġand Ġreturns Ġresult Ġof Ġdiv iding Ġthem Ġto Ġeach Ġother . Ċ Ġ* Ċ Ġ* Ġ@ author Ġir y ab t se v Ġ( I gor ĠR y ab t se v ) Ċ Ġ* Ġ@ since Ġ 1 5 . 1 1 . 2 0 1 8 Ċ Ġ*/ Ċ class ĠDiv ide Series ( private Ġval Ġfirst Metric : ĠMetric , Ġprivate Ġval Ġsecond Metric : ĠMetric ) Ġ: ĠMetric Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġas String () Ġ= Ġ""" divide Series (${ first Metric . asString ()}, Ġ${ second Metric . asString () }) """ Ċ } Ċ Ċ infix Ġfun ĠMetric . divide Series ( another Metric : ĠMetric ) Ġ= ĠDiv ide Series ( this , Ġanother Metric ) Ċ Ċ infix Ġfun ĠString . divide Series ( another Metric : ĠString ) Ġ= ĠDiv ide Series ( String Metric ( this ), ĠString Metric ( another Metric )) Ċ