Define, version, and maintain your monitoring infrastructure alongside your application code
Monitoring as Code (MaC) treats monitoring configurations like any other code artifactversion controlled, reviewed, tested, and deployed through automated pipelines.With MaC, you can define, version, and maintain your monitoring infrastructure alongside your application code, reusing existing tests, code, data, and other assets to create a consistent, automated, and scalable monitoring setup.
To get started with Monitoring as Code, see our Constructs section or CLI section.
Declarative Configuration: Define your monitors, alerts, and status pages, and more in code files using structured formats (JSON, YAML, TypeScript).Version Control: Store monitoring configs in Git alongside application code to maintain consistency and enable collaboration.Infrastructure Automation: Deploy monitoring changes through CI/CD pipelines with the same rigor as application deployments.