mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
parent
b46ab7e921
commit
6669560cb9
@ -378,6 +378,10 @@ func bucketUsageMetricsPrometheus(ch chan<- prometheus.Metric) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if globalIsGateway {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// Crawler disabled, nothing to do.
|
// Crawler disabled, nothing to do.
|
||||||
if env.Get(envDataUsageCrawlConf, config.EnableOn) != config.EnableOn {
|
if env.Get(envDataUsageCrawlConf, config.EnableOn) != config.EnableOn {
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user