-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Prometheus: Fix problem where changing display name in Field tab has no effect #29441
Conversation
I can still see two places where displayName is set
|
That is just the name of the object that is passed to getValueField function. I've changed the property in getValueField. Should I rename these properties? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that is fine, maybe rename it to just name for that function to avoid confusion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🍧 I also like that you have renamed displayNameFromDS
in getValueField
so it is more clear what is happening. 👍 for test.
* Prometheus: don't override displayName property * Rename displayName to displayNameFromDS for consistency (cherry picked from commit 207831f)
* Prometheus: don't override displayName property * Rename displayName to displayNameFromDS for consistency
Which issue(s) this PR fixes:
Fixes #29437
Special notes for your reviewer: