Skip to content

feat: add monitoring.yaml as source of truth for protocol cards#312

Merged
spalen0 merged 1 commit into
mainfrom
feat/monitoring-metadata
Jul 2, 2026
Merged

feat: add monitoring.yaml as source of truth for protocol cards#312
spalen0 merged 1 commit into
mainfrom
feat/monitoring-metadata

Conversation

@spalen0

@spalen0 spalen0 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Adds a structured metadata file and API endpoint for the protocol cards shown on https://curation.yearn.fi/monitoring/.

What's included

  • monitoring.yaml at repo root — source of truth for protocol card data, rebuilt from actual repo code/READMEs.
  • utils/monitoring_config.py — typed loader/validator and JSON serializer.
  • GET /v1/monitoring — new API endpoint exposing the metadata.
  • tests/test_monitoring_config.py — validates sync with automation/jobs.yaml.
  • disabled: true flag for euler, pendle, and silo.
  • Updated CLAUDE.md, CONTRIBUTING.md, README.md, and deploy/alerts-api.md.

Notes

  • Timelock/Safe Multisig monitors are only attached to protocols actually listed in protocols/timelock/timelock_alerts.py or protocols/safe/addresses.py.
  • Maker DAO includes documented Tenderly alerts for DSPause and PSM USDC balance.

- Add monitoring.yaml describing what each protocol monitors, cadence,
  scripts, and disabled status.
- Add utils/monitoring_config.py loader/validator and API endpoint
  GET /v1/monitoring.
- Add tests enforcing sync with automation/jobs.yaml.
- Update CLAUDE.md, CONTRIBUTING.md, README.md, and deploy/alerts-api.md.
@spalen0 spalen0 marked this pull request as ready for review July 2, 2026 11:49
@spalen0 spalen0 merged commit e463655 into main Jul 2, 2026
3 checks passed
@spalen0 spalen0 deleted the feat/monitoring-metadata branch July 2, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant