Refactor duplicate code in Cloud Monitoring backends
Open
invalid
p/cloud_monitoring
p/cloud_monitoring_mql
refactor
- Dominant language
- Python
- Stars
- 564
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Description
As highlighted by the `# pylint: disable=duplicate-code` comments, there is duplicate code in `slo_generator/backends/cloud_monitoring.py` and `slo_generator/backends/cloud_monitoring_mql.py`.
Refactor any duplicate code in a separate utils or helpers file, then remove these comments and confirm `make lint` completes successfully.
Contributor guide
Assessment
This issue has not been assessed yet.