A web service starts with no errors. Its error counter is created only when the first error occurs, causing missing series in dashboards. Which instrumentation improvement helps?

Published
  1. Reset the counter after every successful request
  2. Store error messages in the metric name
  3. Add a new error label value for every scrape
  4. Initialize known bounded error-label combinations to zero

Comments — 0