Skip to content

Rename misleading metric aswa_checks_total (counts only failures) #187

Description

@nezlobnaya

The Prometheus counter in pkg/metrics/metrics.go is named aswa_checks_total with help text "Failed synthetic test.", but it is only ever incremented for failing checks (see IncrementFailedTestsCounter, called from RunSyntheticTests). The name implies it counts all checks, which is misleading for anyone querying it.

Proposed: rename to something like aswa_failed_checks_total and update the help text. Note this is a metric-name change, so any dashboards/alerts referencing aswa_checks_total must be updated in lockstep.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions