DOCS / CONFIGURATION

metrics settings

Metrics, traces, and alerts (EggTracker).

Keys

KeyTypeDefaultDescription
intervalduration15sScrape interval
trace_sample_ratenumber0.1Fraction of requests to trace
alert_channelsarray[email]Where alerts go
golden_eggsbooleantrueEnable the default latency, traffic, errors, and saturation dashboards

Example

metrics:
  interval: 15s
  trace_sample_rate: 0.1
  alert_channels: [email]
  golden_eggs: true

Values set here apply to every environment unless overridden in a coop.production.yolk file. Read and write values from the terminal with cluck config, and validate the whole file with cluck doctor.

NoteYolkML has no tabs, no anchors, and no surprises. Indent with two spaces, and the file will behave.