mirror of https://github.com/prometheus/prometheus
parent
98ffad01b8
commit
b2c5de2e65
|
@ -252,7 +252,6 @@ func endpointSliceSourceFromNamespaceAndName(namespace, name string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
endpointSliceNameLabel = metaLabelPrefix + "endpointslice_name"
|
|
||||||
endpointSliceAddressTypeLabel = metaLabelPrefix + "endpointslice_address_type"
|
endpointSliceAddressTypeLabel = metaLabelPrefix + "endpointslice_address_type"
|
||||||
endpointSlicePortNameLabel = metaLabelPrefix + "endpointslice_port_name"
|
endpointSlicePortNameLabel = metaLabelPrefix + "endpointslice_port_name"
|
||||||
endpointSlicePortProtocolLabel = metaLabelPrefix + "endpointslice_port_protocol"
|
endpointSlicePortProtocolLabel = metaLabelPrefix + "endpointslice_port_protocol"
|
||||||
|
|
|
@ -17,13 +17,14 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/prometheus/prometheus/util/strutil"
|
|
||||||
"os"
|
"os"
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/prometheus/prometheus/util/strutil"
|
||||||
|
|
||||||
disv1beta1 "k8s.io/api/discovery/v1beta1"
|
disv1beta1 "k8s.io/api/discovery/v1beta1"
|
||||||
|
|
||||||
"github.com/go-kit/log"
|
"github.com/go-kit/log"
|
||||||
|
|
|
@ -146,11 +146,6 @@ func serviceSourceFromNamespaceAndName(namespace, name string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
serviceNameLabel = metaLabelPrefix + "service_name"
|
|
||||||
serviceLabelPrefix = metaLabelPrefix + "service_label_"
|
|
||||||
serviceLabelPresentPrefix = metaLabelPrefix + "service_labelpresent_"
|
|
||||||
serviceAnnotationPrefix = metaLabelPrefix + "service_annotation_"
|
|
||||||
serviceAnnotationPresentPrefix = metaLabelPrefix + "service_annotationpresent_"
|
|
||||||
servicePortNameLabel = metaLabelPrefix + "service_port_name"
|
servicePortNameLabel = metaLabelPrefix + "service_port_name"
|
||||||
servicePortNumberLabel = metaLabelPrefix + "service_port_number"
|
servicePortNumberLabel = metaLabelPrefix + "service_port_number"
|
||||||
servicePortProtocolLabel = metaLabelPrefix + "service_port_protocol"
|
servicePortProtocolLabel = metaLabelPrefix + "service_port_protocol"
|
||||||
|
|
Loading…
Reference in New Issue