Open jsmolar opened 2 months ago
When labels are changed, please also update the ServiceMonitors as needed to ensure they target the correct Services. See https://github.com/Kuadrant/kuadrant-operator/pull/953#discussion_r1814655693 for related discussion on this.
Current labeling for Operator Metric Services
control-plane=controller-manager
control-plane=authorino-operator
control-plane=controller-manager
control-plane=dns-operator-controller-manager
Proposed Change
To achieve consistency in the labeling of Operator metric services, I propose aligning the labels according to the pattern implemented by the authorino-operator, or by a new common pattern.
Two potential approaches:
Change label value to reflect correct service kuadrant-operator-metrics -
control-plane=kuadrant-operator
authorino-operator-metrics -control-plane=authorino-operator
limitador-operator-metrics -control-plane=limitador-operator
dns-operator-metrics -control-plane=dns-operator
Change both key and value kuadrant-operator-metrics -
component=kuadrant-operator
authorino-operator-metrics -component=authorino-operator
limitador-operator-metrics -component=limitador-operator
dns-operator-metrics -component=dns-operator