Hey everyone, Can anyone help me with this:

I want to combine two metrics in such a way that both should be displayed 
on one graph in Prometheus. For eg:
 metric_one{label1:value1} 123
 metrci_two{label2:value2} 345
  
I want these metrics should be displayed on one chart in Prometheus.
The collect() function for this is as:

Collect()
{ 
 ch<-prometheus.MustNewConstMetric(c.metric1,prometheus.CounterValue,float64(
123))
 ch<-prometheus.MustNewConstMetric(c.metric2,prometheus.CounterValue,float64(
345))
}

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/2cc6c52e-0834-4865-a191-eb1ba455137bn%40googlegroups.com.

Reply via email to