File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ python lead_time.py --config custom_config.yaml
60
60
61
61
### Lead Time Calculation
62
62
Lead time is calculated as:
63
- ```
63
+ ``` text
64
64
Lead Time = Deployment Time - Commit Time
65
65
```
66
66
@@ -80,7 +80,7 @@ Lead Time = Deployment Time - Commit Time
80
80
81
81
## Output Example
82
82
83
- ```
83
+ ``` text
84
84
LEAD TIME FOR CHANGES REPORT
85
85
==================================================
86
86
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ python mttr_calculator.py --config production_config.yaml
59
59
## Understanding MTTR
60
60
61
61
### Calculation
62
- ```
62
+ ``` text
63
63
MTTR = (Incident Resolved Time - Incident Created Time) / Number of Incidents
64
64
```
65
65
@@ -81,7 +81,7 @@ MTTR = (Incident Resolved Time - Incident Created Time) / Number of Incidents
81
81
## API Configuration
82
82
83
83
### PagerDuty
84
- 1 . Generate API key: https://support.pagerduty.com/docs/api-access-keys
84
+ 1 . Generate API key: [ PagerDuty API Access Keys ] ( https://support.pagerduty.com/docs/api-access-keys )
85
85
2 . Required permissions: Read access to incidents
86
86
3 . Set environment variable: ` export PAGERDUTY_TOKEN=your_token `
87
87
@@ -109,7 +109,7 @@ MTTR = (Incident Resolved Time - Incident Created Time) / Number of Incidents
109
109
110
110
## Output Example
111
111
112
- ```
112
+ ``` text
113
113
MEAN TIME TO RECOVERY (MTTR) REPORT
114
114
==================================================
115
115
You can’t perform that action at this time.
0 commit comments