mirror of
https://github.com/minio/minio.git
synced 2025-04-06 12:50:34 -04:00
Distribution bucket metrics with site replication (#18841)
If site replication is enabled, we should still show the size and version distribution histogram metrics at bucket level. Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
This commit is contained in:
parent
f9b4a8d6e8
commit
65c4d550cb
@ -3174,6 +3174,7 @@ func getBucketUsageMetrics(opts MetricsGroupOpts) *MetricsGroup {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
metrics = append(metrics, Metric{
|
metrics = append(metrics, Metric{
|
||||||
Description: getBucketObjectDistributionMD(),
|
Description: getBucketObjectDistributionMD(),
|
||||||
Histogram: usage.ObjectSizesHistogram,
|
Histogram: usage.ObjectSizesHistogram,
|
||||||
@ -3188,7 +3189,6 @@ func getBucketUsageMetrics(opts MetricsGroupOpts) *MetricsGroup {
|
|||||||
VariableLabels: map[string]string{"bucket": bucket},
|
VariableLabels: map[string]string{"bucket": bucket},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return
|
return
|
||||||
})
|
})
|
||||||
return mg
|
return mg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user