Skip to content

Chaos Engineering & Fault Injection Page #314

@ElioNeto

Description

@ElioNeto

Chaos Engineering & Fault Injection Page

Create an Angular page for managing chaos engineering experiments using the existing chaos module.

Backend Endpoints Needed

GET    /admin/chaos/experiments        — List experiments
POST   /admin/chaos/experiments        — Create experiment
PUT    /admin/chaos/experiments/{id}   — Update experiment
POST   /admin/chaos/experiments/{id}/start  — Start experiment
POST   /admin/chaos/experiments/{id}/stop   — Stop experiment
GET    /admin/chaos/experiments/{id}/status — Status & results
DELETE /admin/chaos/experiments/{id}   — Delete experiment

UI Requirements

Experiment Templates

  • Latency injection (add delay to read/write)
  • Error injection (X% of operations fail)
  • Disk full simulation
  • Connection drops
  • Slow compaction
  • Memory pressure

Experiment Creation

  • Name, fault type, target operations
  • Intensity slider (0-100%)
  • Duration and optional schedule

Active Experiments

  • Status cards with remaining time
  • Live metrics (error rate, latency impact)
  • Emergency stop button
  • Past experiment history table

Safety Features

  • Explicit confirmation before starting
  • Auto-stop after configured duration
  • Cannot affect admin endpoints
  • Full audit log

Acceptance Criteria

  • Experiment list displays correctly
  • Can create experiment from template
  • Experiment starts and stops correctly
  • Live metrics update during experiment
  • Auto-stop works on duration expiry
  • Safety confirmations present

Parent Epic

#290

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions