MetricsConfig constructor

const MetricsConfig({
  1. bool enabled = false,
  2. String path = '/metrics',
  3. String? token,
})

Metrics settings; usually from .env (METRICS_*).

Implementation

const MetricsConfig({
  this.enabled = false,
  this.path = '/metrics',
  this.token,
});