-
Notifications
You must be signed in to change notification settings - Fork 829
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3647 from chaunceyjiang/same-name-with-cluster
metrics-adapter: when different clusters have the same pod name, the annotations of different metrics have the same value
- Loading branch information
Showing
2 changed files
with
47 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package v1alpha1 | ||
|
||
const ( | ||
// QuerySourceAnnotationKey is the annotation used in karmada-metrics-adapter to | ||
// record the query source cluster | ||
QuerySourceAnnotationKey = "resource.karmada.io/query-from-cluster" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters