Skip to content

Add labels for the lightspeed-app-server service#30

Open
jancervenka wants to merge 2 commits into
openstack-k8s-operators:mainfrom
jancervenka:add-metric-scraping-labels
Open

Add labels for the lightspeed-app-server service#30
jancervenka wants to merge 2 commits into
openstack-k8s-operators:mainfrom
jancervenka:add-metric-scraping-labels

Conversation

@jancervenka

@jancervenka jancervenka commented Jul 22, 2026

Copy link
Copy Markdown

Add labels for the lightspeed-app-server service that allows it to be discovered by metrics ScrapeConfig

@openshift-ci
openshift-ci Bot requested review from Akrog and lpiwowar July 22, 2026 07:41
@jancervenka
jancervenka marked this pull request as draft July 22, 2026 07:41
@jancervenka
jancervenka force-pushed the add-metric-scraping-labels branch from 8925a28 to 4d11a08 Compare July 22, 2026 07:59
@jancervenka
jancervenka marked this pull request as ready for review July 22, 2026 08:14
@openshift-ci
openshift-ci Bot requested a review from umago July 22, 2026 08:14
@jancervenka
jancervenka force-pushed the add-metric-scraping-labels branch from 4d11a08 to 8b92f4d Compare July 22, 2026 09:23
Comment thread internal/controller/lcore_reconciler.go
@jancervenka
jancervenka requested a review from umago July 22, 2026 14:07

@lpiwowar lpiwowar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

IIUC how it ties in with the PR in telemetry-operator, then LGTM in my opinion. 👍

Just small nit:

  • the commit message could be a tiny bit more descriptive IMO and
  • could follow the 50 / 72 rule.

@openshift-ci

openshift-ci Bot commented Jul 23, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jancervenka, lpiwowar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lpiwowar

Copy link
Copy Markdown
Collaborator

/hold

We probably want to wait for the telemetry-operator PR to get resolved first and we do not want accidentally block the MCP PR 🙈 . But the development on the PR can continue:)

@umago

umago commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Yeah it /lgtm me as well! @lpiwowar the PR for telemetry is now merged

telemetry-operator creates a ScrapeConfig that collects metrics from
Lightspeed /metrics endpoint. The ScrapeConfig uses a LabelSelector
to discover the Lightspeed service.

Adding "metrics" and "service" labels allows the Lightspeed service
to be discoverable by the ScrapeConfig.
@jancervenka

Copy link
Copy Markdown
Author

Thank you! I updated the commit message 👍 @lpiwowar

@jancervenka
jancervenka force-pushed the add-metric-scraping-labels branch from 7da2d03 to b3c9282 Compare July 23, 2026 15:19
@openshift-ci openshift-ci Bot added approved and removed lgtm labels Jul 23, 2026
@jancervenka

Copy link
Copy Markdown
Author

/retest

@lpiwowar

Copy link
Copy Markdown
Collaborator

/lgtm

Thank you @jancervenka ! 👍

I'm not sure what to do about the /hold. Merging this will cause conflict for the MCP PR @Akrog is working on. Maybe we can wait a bit and if it turns out that the MCP PR needs more time then we can merge?

@openshift-ci openshift-ci Bot added the lgtm label Jul 24, 2026
@jancervenka

Copy link
Copy Markdown
Author

yes, sounds good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants