Repository navigation
Remove unhelpful labelDrops in scrapeConfig - #1011
openshift-merge-bot[bot] merged 1 commit into
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Advanced Run ID: Comment |
TestingAfter running my patched telemetry-operator and confirming the change in the secret, I can see that the "pod" label now exists. |
|
Build failed (check pipeline). Post ✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 57m 58s |
|
There are checks for the labeldrops in the kuttl tests. Those will need to be adjusted as well. For example https://github.com/openstack-k8s-operators/telemetry-operator/blob/main/test/kuttl/tests/metricstorage/01-assert.yaml#L44 |
Yes, thank you, I will adjust. |
105dba4 to
0a0ffeb
Compare
|
/retest |
|
Build failed (check pipeline). Post ✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 47m 53s |
|
recheck failure related to go proxy |
|
Build failed (check pipeline). Post ✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 3h 09m 20s |
|
recheck |
|
/retest |
|
Build succeeded (check pipeline). ✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 4h 02m 43s |
This was reported informally as a bug agaisnt this example alert: https://github.com/openstack-k8s-operators/telemetry-operator/blob/main/docs/sample-alerts/openstack-observability-services-status.yaml#L23 User states that Pod label doesn't exist. This labelDrop configuration dates back to STF, when none of the OSP17 services ran in OCP. These labels were meaningless/misleading at the time, always reflecting values of the smart-gateway rather than the actual services in question (nothing in the OSP17 control-plane ran in a "pod" or "namespace", and the "job" was always the same). I've opted to continue to drop "publisher", concurring with Juan's opinion on the matter. I've checked it and says "ceilometer" on 171 series in my environment, and "ceilometer-0" on 1 series. That's a question I'm not going to tackle right now, but the label doesn't seem terribly useful, so we'll continue to drop it.
0a0ffeb to
4c9ffaf
Compare
|
/retest |
|
Build failed (check pipeline). Post ❌ telemetry-openstack-meta-content-provider-master FAILURE in 12m 23s |
|
recheck seems like a dependency download issue |
|
/retest |
|
Build failed (check pipeline). Post ✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 39m 08s |
|
recheck |
|
Build failed (check pipeline). Post ❌ telemetry-openstack-meta-content-provider-master FAILURE in 12m 47s |
|
recheck |
|
Build succeeded (check pipeline). ✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 10m 59s |
vkmc
left a comment
There was a problem hiding this comment.
LGTM, happy to see this fix... we need those labels!
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: csibbitt, jlarriba, vkmc The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
e2a0cb4
into
openstack-k8s-operators:main
|
@csibbitt I'm gonna cherry-pick this through to FR7. I have 2 reasons:
|
|
/cherry-pick 18-stable |
|
@vyzigold: new pull request created: #1112 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This was reported informally as a bug against this example alert: https://github.com/openstack-k8s-operators/telemetry-operator/blob/main/docs/sample-alerts/openstack-observability-services-status.yaml#L23
User states that the Pod label doesn't exist.
This labelDrop configuration dates back to STF, when none of the OSP17 services ran in OCP. These labels were meaningless/misleading at the time, always reflecting values of the smart-gateway rather than the actual services in question (nothing in the OSP17 control-plane ran in a "pod" or "namespace", and the "job" was always the same).
I've opted to continue to drop "publisher", concurring with @jlarriba 's opinion on the matter. I've checked it and the publisher is "ceilometer" on 171 series in my environment, and "ceilometer-0" on 1 series. That's a question I'm not going to tackle right now, but the label doesn't seem terribly useful, so we'll continue to drop it.