grafana/grafana
@grafana/alerting
Shared types and helpers for the alerting UI. Source under packages/grafana-alerting/.
This is the smallest of the major packages and exists primarily to share the alert/rule/contact-point types between public/app/features/alerting/unified/ and external plugins (e.g. plugins that integrate with alerting state). It also exposes a few pure helpers for parsing/serializing alerting expressions.
What's exported
AlertStateenum (Normal,Pending,Alerting,NoData,Error).- Type aliases for
AlertRule,RuleGroup,ContactPoint,NotificationPolicy. - Small helpers for label-set diffing, matching against route trees, and severity coloring.
See also
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.