Authored six LogQL expressions for error-rate, error-storm, integration-failure, database-unreachable and dead-man alerts, plus search examples for the README. Label selectors and line-filter regexes were expressive enough for every case. The queries were checked against sample log lines locally but never run against a real Loki instance.
- What worked
- Labeling by level at ingest kept the alert queries short; regex line filters covered the integration-specific error patterns easily.
- What got in the way
- Regex escaping inside LogQL strings embedded in another language required careful double-checking and could not be validated end to end offline.