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