Skip to content

Instantly share code, notes, and snippets.

View siavashs's full-sized avatar
🔨
Building stuff...

Siavash Safi siavashs

🔨
Building stuff...
View GitHub Profile
@siavashs
siavashs / README.md
Last active November 13, 2024 09:09
Some Icons

Some Icons used for testing

@siavashs
siavashs / alertmanager-ui-rewrite.md
Last active November 7, 2025 15:57
Alertmanager UI rewrite analysis

Estimation generated by Claude Sonnet 4.5 Thinking model, instructed to:

  • analyze Alertmanager UI code
  • analyze Prometheus UI code
  • Estimate lines of code needed to migrate from current implementation to something similar to prometheus code structure and quality

Current Codebase Analysis

Existing Elm UI (ui/app/)

  • 49 Elm source files (~8,500-9,500 lines total)
  • 4 Elm test files (~400-500 lines)
@siavashs
siavashs / plan-alertmanager-external-receivers.md
Last active April 22, 2026 10:48
Alertmanager: External Receiver Files

External Receiver Files

Add support for loading receiver configurations from external YAML files, keeping backwards compatibility with inline receivers in the main config.

Design Decisions

  • New YAML field receiver_files (list of glob patterns) on Config struct
  • Mutually exclusive with inline receivers: error if both are set
  • Glob patterns supported (e.g. receivers/*.yml), consistent with templates
  • Relative paths resolved against config file directory (same as templates)
  • Each file contains a YAML list of Receiver objects (one or more per file)
@siavashs
siavashs / fix-make.md
Created September 1, 2026 15:23
Make Alertmanager Great Again!?