MetricsConfig constructor
Creates a metrics configuration with the given options. Creates a new MetricsConfig with the given collection options.
Implementation
const MetricsConfig({
this.enabled = true,
this.collectionIntervalSeconds = 60,
this.collectSystemMetrics = true,
this.collectNetworkMetrics = true,
this.collectStorageMetrics = true,
this.enablePrometheusExport = false,
this.prometheusEndpoint = '/metrics',
});