Skip to content

Refactor duplicate code in Cloud Monitoring backends #268

Open
@lvaylet

Description

@lvaylet

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions