-
Notifications
You must be signed in to change notification settings - Fork 677
[Mixins] Option for a custom cluster label #1651
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
Changes from 6 commits
10b2095
d6d4066
058c906
af70959
e9f6b09
ca1b6d6
7b32d0a
a420133
b1637d2
d516f1b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -35,9 +35,12 @@ | |||
| overrides_exporter: 'overrides-exporter', | ||||
| }, | ||||
|
|
||||
| // Custom Cluster label to use in dashboards. | ||||
| clusterLabel: 'cluster', | ||||
|
||||
| .addMultiTemplate('cluster', 'cortex_build_info', '%s' % $._config.clusterLabel) |
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 see the difficulty of getting rid of this config field at all. Ok, let's keep it. Can I just ask you to rename clusterLabel to per_cluster_label to keep it consistent with per_instance_label and per_node_label, please?
The comment could be something like:
// The label used to differentiate between different Kubernetes clusters.
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.
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.
Done