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 graph 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 Users" 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-users/03b53397-c189-48af-ad78-90f0f0a4e61dn%40googlegroups.com.

Reply via email to