Skip to content

Refactor LabelNames to return model.LabelNames type for consistency #1850

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yshngg
Copy link

@yshngg yshngg commented Jul 31, 2025

No description provided.

Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

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

LGTM

yshngg added a commit to yshngg/pmcp that referenced this pull request Aug 1, 2025
```diff
-// TODO: replace []string with model.LabelNames ? prometheus/client_golang#1850
+// TODO: Replace []string with model.LabelNames (see prometheus/client_golang#1850).
```
yshngg added a commit to yshngg/pmcp that referenced this pull request Aug 1, 2025
* 💡(metadata_query): Add PR reference to TODO comment about LabelNames replacement
[Explanation: Added GitHub PR link (#1850) to existing TODO comment to provide context for future type replacement from []string to model.LabelNames]

* 💡(labels.go): Improve TODO comment clarity and formatting

```diff
-// TODO: replace []string with model.LabelNames ? prometheus/client_golang#1850
+// TODO: Replace []string with model.LabelNames (see prometheus/client_golang#1850).
```
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.

2 participants