Skip to content

Commit

Permalink
Update endpointslice.go
Browse files Browse the repository at this point in the history
Remove unneeded label
  • Loading branch information
MarkSRobinson committed Aug 30, 2023
1 parent 3ae8a28 commit ada647e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/store/endpointslice.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,6 @@ func endpointSliceMetricFamilies(allowAnnotationsList, allowLabelsList []string)
labelValues = append(labelValues, *ep.Hostname)
}

// Did you know that k8s will "assign" endpoints from a zone
// This field is useful for debugging weird network routing issues
if ep.Zone != nil {
labelKeys = append(labelKeys, "endpoint_zone")
labelValues = append(labelValues, *ep.Zone)
}

// Per Docs.
// This must contain at least one address but no more than
// 100. These are all assumed to be fungible and clients may choose to only
Expand Down

0 comments on commit ada647e

Please sign in to comment.