Skip to content

changes to allow custom labels for ServiceMonitor#850

Open
csauoss wants to merge 1 commit intoNVIDIA:mainfrom
csauoss:servicemonitor-custom-labels
Open

changes to allow custom labels for ServiceMonitor#850
csauoss wants to merge 1 commit intoNVIDIA:mainfrom
csauoss:servicemonitor-custom-labels

Conversation

@csauoss
Copy link
Copy Markdown

@csauoss csauoss commented Jul 18, 2024

This pr addresses issue 710 to allow passing custom labels for gpu-operator's ServiceMonitor.

@shivamerla
Copy link
Copy Markdown
Contributor

changes look good, @csauoss can you rebase please.

@csauoss csauoss force-pushed the servicemonitor-custom-labels branch from 8e8e5ec to deb5368 Compare September 7, 2024 08:02
@csauoss
Copy link
Copy Markdown
Author

csauoss commented Sep 7, 2024

changes look good, @csauoss can you rebase please.

@shivamerla Thanks for taking a look. pulled in changes from main and did the rebase.

@csauoss csauoss force-pushed the servicemonitor-custom-labels branch from deb5368 to 9a049dc Compare September 7, 2024 18:31
@csauoss csauoss force-pushed the servicemonitor-custom-labels branch from 9a049dc to 1a0f052 Compare September 14, 2024 23:12
@csauoss csauoss force-pushed the servicemonitor-custom-labels branch from 1a0f052 to a2c5c59 Compare October 27, 2024 20:04
@csauoss
Copy link
Copy Markdown
Author

csauoss commented Oct 27, 2024

@shivamerla can you please review it again when you get a chance? thanks!

@ramesius
Copy link
Copy Markdown

ramesius commented Apr 29, 2025

@csauoss @shivamerla It would be great to see this land, any updates on getting this into main?

@csauoss csauoss force-pushed the servicemonitor-custom-labels branch from a2c5c59 to 20a2528 Compare May 18, 2025 00:21
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented May 18, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Signed-off-by: Saurabh Choudhary <csauoss@gmail.com>
@csauoss csauoss force-pushed the servicemonitor-custom-labels branch from 20a2528 to 8837b55 Compare May 18, 2025 00:46
@csauoss
Copy link
Copy Markdown
Author

csauoss commented May 18, 2025

@ramesius thanks for bumping this. I have rebased it and is ready for review again. Hoping for @shivamerla @cdesiniotis to take a look when they get a chance.

@elezar elezar removed their request for review October 15, 2025 14:20
@github-actions
Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 90 days with no activity. This PR will be closed in 30 days unless new comments are made or the stale label is removed. To skip these checks, apply the "lifecycle/frozen" label.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This pull request was automatically closed due to inactivity.

@github-actions github-actions bot closed this Feb 13, 2026
@rahulait
Copy link
Copy Markdown
Contributor

Re-opening as it was autoclosed due to inactivity. This is a relevant PR and we want to take a look and see if we can get this in.

@rahulait rahulait reopened this Apr 13, 2026
@rahulait rahulait removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 13, 2026
@csauoss
Copy link
Copy Markdown
Author

csauoss commented Apr 13, 2026

@rahulait thanks for the update. I will rebase this as well soon.

@rahulait
Copy link
Copy Markdown
Contributor

Thanks @csauoss. I'll try to get this prioritized and provide feedback so that you don't have to keep on rebasing it every now and then.

@rahulait rahulait self-assigned this Apr 13, 2026
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="ServiceMonitor configuration for NVIDIA DCGM Exporter"
ServiceMonitor *DCGMExporterServiceMonitorConfig `json:"serviceMonitor,omitempty"`
ServiceMonitor *ServiceMonitorConfig `json:"serviceMonitor,omitempty"`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Renaming the struct is a breaking change for consumers importing this type in their Go code. A type alias could work for backward compatibility:

type DCGMExporterServiceMonitorConfig = ServiceMonitorConfig

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants