Skip to content

Add prometheus metrics for Component creation

Codecov / codecov/patch succeeded Dec 13, 2023 in 1s

42.96% of diff hit (target 81.39%)

View this Pull Request on Codecov

42.96% of diff hit (target 81.39%)

Annotations

Check warning on line 332 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L332

Added line #L332 was not covered by tests

Check warning on line 356 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L355-L356

Added lines #L355 - L356 were not covered by tests

Check warning on line 358 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L358

Added line #L358 was not covered by tests

Check warning on line 361 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L361

Added line #L361 was not covered by tests

Check warning on line 372 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L371-L372

Added lines #L371 - L372 were not covered by tests

Check warning on line 385 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L385

Added line #L385 was not covered by tests

Check warning on line 393 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L393

Added line #L393 was not covered by tests

Check warning on line 407 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L407

Added line #L407 was not covered by tests

Check warning on line 416 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L416

Added line #L416 was not covered by tests

Check warning on line 453 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L453

Added line #L453 was not covered by tests

Check warning on line 469 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L462-L469

Added lines #L462 - L469 were not covered by tests

Check warning on line 483 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L483

Added line #L483 was not covered by tests

Check warning on line 491 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L491

Added line #L491 was not covered by tests

Check warning on line 664 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L662-L664

Added lines #L662 - L664 were not covered by tests

Check warning on line 674 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L673-L674

Added lines #L673 - L674 were not covered by tests

Check warning on line 680 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L679-L680

Added lines #L679 - L680 were not covered by tests

Check warning on line 708 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L705-L708

Added lines #L705 - L708 were not covered by tests

Check warning on line 738 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L735-L738

Added lines #L735 - L738 were not covered by tests

Check warning on line 742 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L740-L742

Added lines #L740 - L742 were not covered by tests

Check warning on line 772 in controllers/component_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/component_controller.go#L768-L772

Added lines #L768 - L772 were not covered by tests

Check warning on line 46 in controllers/errors.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/errors.go#L45-L46

Added lines #L45 - L46 were not covered by tests

Check warning on line 84 in controllers/update.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/update.go#L84

Added line #L84 was not covered by tests

Check warning on line 133 in controllers/update.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/update.go#L133

Added line #L133 was not covered by tests

Check warning on line 158 in controllers/update.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/update.go#L158

Added line #L158 was not covered by tests

Check warning on line 179 in controllers/update.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/update.go#L179

Added line #L179 was not covered by tests