You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/content/learn/monitoring/monitoring-as-code.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ menu:
14
14
weight: 31
15
15
---
16
16
17
-
Synthetic monitoring is a proven practice for ensuring reliability of applications and services in production. It excels at proactively discovering issues that affect real users, which is why companies—from startups to Fortune 500—rely on it to enhance their user experience. But teams that are moving fast or growing at scale can face real challenges with traditional synthetic monitoring workflows and tools:
17
+
[Synthetic monitoring](/learn/monitoring/synthetic-monitoring/) is a proven practice for ensuring reliability of applications and services in production. It excels at proactively discovering issues that affect real users, which is why companies—from startups to Fortune 500—rely on it to enhance their user experience. But teams that are moving fast or growing at scale can face real challenges with traditional synthetic monitoring workflows and tools:
18
18
19
19
- Noisy alerts
20
20
- Limited visibility into root causes
@@ -23,7 +23,7 @@ Synthetic monitoring is a proven practice for ensuring reliability of applicatio
23
23
24
24
Monitoring as Code (MaC) addresses these pain points by automating and integrating monitoring directly into CI/CD pipelines, delivering efficiency, scalability, and actionable insights. It redefines monitoring as a dynamic, code-driven process that evolves seamlessly with your applications.
25
25
26
-
Let’s explore MaC, its benefits, and how you can use it to level up your monitoring.
26
+
Let’s explore MaC, its benefits, and how you can use it to level up your monitoring.
27
27
28
28
## What Is Monitoring as Code?
29
29
@@ -57,7 +57,7 @@ Whenever we discuss the ideal setup for synthetic monitoring, experienced DevOps
57
57
58
58
## Benefits of Monitoring as Code
59
59
60
-
Here are the most important benefits of adopting Monitoring as Code:
60
+
Here are the most important benefits of adopting Monitoring as Code:
61
61
62
62
### **Codified & Programmable**
63
63
@@ -69,7 +69,7 @@ Monitoring as Code transforms your monitoring setup into code that is stored, ma
69
69
70
70
With MaC, your monitoring evolves alongside your codebase, enabling precision, flexibility, and scalability that traditional methods simply can’t match.
71
71
72
-

72
+

73
73
74
74
### **Reusability Enforces Consistency**
75
75
@@ -158,7 +158,7 @@ These checks provide confidence that your APIs function reliably under different
158
158
159
159
Since monitoring setups are code-based, they are easy to update as your APIs evolve. This keeps monitoring aligned with API changes, eliminating gaps in coverage.
160
160
161
-
Here’s an example of an API check that tests an e-commerce flow of updating an inventory item:
161
+
Here’s an example of an API check that tests an e-commerce flow of updating an inventory item:
162
162
163
163
```jsx
164
164
@@ -205,7 +205,7 @@ new ApiCheck('update-inventory-item', {
205
205
206
206
Slow app load times or high latency can drive users away and impact revenue. Monitoring as Code provides a streamlined way to track performance metrics like page load times, API response times, and latency, ensuring your application consistently meets expectations.
207
207
208
-
With MaC, performance checks can be integrated into your CI/CD pipelines to catch slowdowns early in development or staging. Automated alerts notify your team of performance issues in real time, enabling proactive fixes before users are impacted.
208
+
With MaC, performance checks can be integrated into your CI/CD pipelines to catch slowdowns early in development or staging. Automated alerts notify your team of performance issues in real time, enabling proactive fixes before users are impacted.
209
209
210
210
MaC also excels at monitoring deployments by running performance checks automatically after each release. This ensures that new changes don’t introduce regressions, and if issues arise, teams can act quickly to resolve or roll back, maintaining stability and trust.
211
211
@@ -239,7 +239,7 @@ Checkly’s compatibility with CI/CD pipelines ensures monitoring is embedded in
239
239
240
240
### Native Playwright Support
241
241
242
-
With native Playwright support, Checkly enables you to directly use existing Playwright scripts as browser checks. This integration allows you to monitor complex user workflows—such as logins, form submissions, or multi-step transactions—without needing to rewrite tests.
242
+
With native Playwright support, Checkly enables you to directly use existing Playwright scripts as browser checks. This integration allows you to monitor complex user workflows—such as logins, form submissions, or multi-step transactions—without needing to rewrite tests.
243
243
244
244
Your monitoring aligns with your application logic, offering precise, actionable insights into the user experience.
245
245
@@ -251,13 +251,14 @@ A strong alerting strategy ensures critical issues are addressed promptly while
251
251
- Automatically deploy and update alerting configurations alongside your application changes.
252
252
- Maintain consistency across environments, ensuring no alerts are missed or misconfigured during rollouts.
253
253
254
-
### **Dashboards and Visualization**
254
+
### **Status pages and dashboards**
255
255
256
-
Dashboards offer a real-time view of your application's health, and MaC enables you to configure these visualizations programmatically. Tools like [Grafana](https://www.checklyhq.com/docs/analytics/#building-a-grafana-dashboard) integrate easily with MaC, allowing you to:
256
+
[Status pages](/product/status-pages/) and [internal dashboards](/product/dashboards/) offer a real-time view of your application's health, and MaC enables you to configure these visualizations programmatically. Tools like [Grafana](https://www.checklyhq.com/docs/analytics/#building-a-grafana-dashboard) integrate easily with MaC, allowing you to:
257
257
258
-
- Automate the creation and updates of dashboards based on predefined templates.
258
+
- Automate the creation and updates of dashboards and status pages based on predefined templates.
259
259
- Highlight key metrics like latency, error rates, or resource utilization, making it easier to identify trends and anomalies.
260
260
- Share consistent, reliable dashboards across teams or environments.
261
+
- Communicate app and API availability to your customers.
0 commit comments