Skip to content

Commit

Permalink
Apply monitoringlinter
Browse files Browse the repository at this point in the history
Apply monitoringlinter, which is designed to enforce
kubevirt/community#219 by ensuring that monitoring-related practices are
implemented within the pkg/monitoring directory using
operator-observability methods.

Signed-off-by: assafad <aadmi@redhat.com>
  • Loading branch information
assafad authored and Super User committed Mar 6, 2024
1 parent d9bc9d2 commit 5fce087
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ lint-metrics:
./hack/prom-metric-linter/metric_name_linter.sh --operator-name="kubevirt" --sub-operator-name="kubevirt" --metrics-file=metrics.json
rm metrics.json

lint-monitoring:
go install github.com/kubevirt/monitoring/monitoringlinter/cmd/monitoringlinter@latest
monitoringlinter ./pkg/...

.PHONY: \
build-verify \
conformance \
Expand Down Expand Up @@ -265,4 +269,5 @@ lint-metrics:
fmt \
lint \
lint-metrics\
lint-monitoring\
$(NULL)

0 comments on commit 5fce087

Please sign in to comment.