File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
1010type InstrumentingReconciler struct {
1111 Reconciler
1212 ReconciliationCount * prometheus.CounterVec
13- ReconciliationLatency * prometheus.HistogramVec
13+ ReconciliationLatency * prometheus.SummaryVec
1414}
1515
1616func (ir * InstrumentingReconciler ) Reconcile (kluster * v1.Kluster ) (requeue bool , err error ) {
Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ var KlusterReconcilicationCount = prometheus.NewCounterVec(
66 prometheus.CounterOpts {
77 Namespace : "kubernikus" ,
88 Subsystem : "launch" ,
9- Name : "kluster_reconciliation_count " ,
9+ Name : "reconciliation_count " ,
1010 Help : "Number of reconcilitations." },
1111 []string {"kluster" , "project" })
1212
13- var KlusterReconciliationLatency = prometheus .NewHistogramVec (
14- prometheus.HistogramOpts {
13+ var KlusterReconciliationLatency = prometheus .NewSummaryVec (
14+ prometheus.SummaryOpts {
1515 Namespace : "kubernikus" ,
1616 Subsystem : "launch" ,
17- Name : "kluster_reconciliation_latency_microseconds " ,
17+ Name : "reconciliation_latency_microseconds " ,
1818 Help : "Total duration of reconciliation in microseconds." ,
1919 },
2020 []string {"kluster" , "project" })
You can’t perform that action at this time.
0 commit comments