alerts.discovery.read, and a rule takes alerts.rules.manage.
What it looks for
Logs: each organization’s 20 log streams with a level field (
level, severity, severity_text,
severity_number, and the like), the most recently changed first. Error, fatal, critical, and their
kin are errors, as is a severity_number of 17 or more. Metrics: a fixed set of common resource metrics
of the OpenTelemetry host and Kubernetes receivers, Prometheus node_exporter, and kube-state-metrics,
queried only when the metrics directory has them; no other metric is scanned.
Performance suggestions (slow dependencies, N+1 calls, slow statements, hot endpoints) are not
problems and are left out, and so are ignored and resolved issues.
A problem (the same kind, service or application, environment, and metric) has one open finding at a
time: seeing it again updates the figure and when it was last seen; a finding not seen for three rounds
in a row ends, and ended findings are kept for 30 days. When one side cannot be read, for example APM or
RUM cannot be queried for a while, or a log stream fails, the open findings of that side stay as they
were that round. With
several alert nodes, organizations are divided among them by id.
Findings
Switch between Open and Ended, and filter by kind. Each row says in a sentence what was found, for example “The error rate of checkout is 12.0% (was 0.40%)”, with the severity, the kind, and the environment below, then when it started and when it was last seen (or when it ended). Select a row for its details: the kind, the figure now, before, and a week before, the version, where the error happens, and when it started and was last seen; an APM finding also lists the deployments and versions near when it began. Open in APM, Open in RUM, Open the logs, and Open in Metrics go to the service, the application, the log stream, or the query. Ask Mole Agent to look into it closes the details and starts a Mole Agent chat about the finding: Mole Agent reads it withget_discovery_finding, looks at the logs, metrics, traces, and
changes around when it began, and says what to do next.
Be told with a rule
Findings are only listed and wake nobody: they are inferred, and paging on them directly would be noisy. To be told, create a discovery rule:- Select New discovery rule, or Alert on findings like this in a finding’s details, which fills in its kind, service, and environment.
- Under Which findings, enter a Name, choose the Kinds (none ticked is every kind), and enter the Services or applications (APM service names or RUM application ids, separated by commas; empty is all), the Environments, and the Minimum severity.
- Under Who is told, choose the Escalation policy and the Urgency: Low (default) notifies the first step only and never during quiet hours.
- Select Create rule.
discovery.finding, discovery.kind, and discovery.subject
that routing rules and silences can match. When the finding ends, the incident recovers. The rule shows
in the rule list with Discovery as its source.