Monitoring constructor

const Monitoring({
  1. Input<List<MonitoringDestination>>? consumerDestinations,
  2. Input<List<MonitoringDestination>>? producerDestinations,
})

Creates a new Monitoring. consumerDestinations Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration. producerDestinations Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.

Implementation

const Monitoring({
  this.consumerDestinations,
  this.producerDestinations,
});