mirror of
https://github.com/status-im/consul.git
synced 2025-02-02 08:56:43 +00:00
parent
fa4b0854fb
commit
cf2cfbaf2e
@ -26,7 +26,7 @@ export default class TopologyMetrics extends Component {
|
|||||||
// TODO we can make the configurable even before we have a full solution for
|
// TODO we can make the configurable even before we have a full solution for
|
||||||
// multi-DC forwarding for Prometheus so providers that are global for all
|
// multi-DC forwarding for Prometheus so providers that are global for all
|
||||||
// DCs like an external managed APM can still load in all DCs.
|
// DCs like an external managed APM can still load in all DCs.
|
||||||
if (this.env.var('CONSUL_DATACENTER_LOCAL') != this.args.dc) {
|
if (this.env.var('CONSUL_DATACENTER_LOCAL') != this.args.topology.get('Datacenter')) {
|
||||||
this.noMetricsReason = 'Unable to fetch metrics for a remote datacenter';
|
this.noMetricsReason = 'Unable to fetch metrics for a remote datacenter';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user