File tree Expand file tree Collapse file tree 7 files changed +23
-24
lines changed
knative.dev/pkg/observability Expand file tree Collapse file tree 7 files changed +23
-24
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ require (
12
12
k8s.io/client-go v0.33.1
13
13
k8s.io/code-generator v0.33.1
14
14
k8s.io/utils v0.0.0-20241210054802-24370beab758
15
- knative.dev/hack v0.0.0-20250514121446-f525e187efdc
16
- knative.dev/networking v0.0.0-20250707164707-14e7b4882ada
17
- knative.dev/pkg v0.0.0-20250707154506-3eb1089fec09
15
+ knative.dev/hack v0.0.0-20250708013849-70d4b00da6ba
16
+ knative.dev/networking v0.0.0-20250708014646-f8c92385906a
17
+ knative.dev/pkg v0.0.0-20250710001404-a4cc1bdef5b2
18
18
sigs.k8s.io/gateway-api v1.2.1
19
19
sigs.k8s.io/yaml v1.5.0
20
20
)
Original file line number Diff line number Diff line change @@ -247,12 +247,12 @@ k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff h1:/usPimJzUKKu+m+TE36gUy
247
247
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff /go.mod h1:5jIi+8yX4RIb8wk3XwBo5Pq2ccx4FP10ohkbSKCZoK8 =
248
248
k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJJI8IUa1AmH/qa0 =
249
249
k8s.io/utils v0.0.0-20241210054802-24370beab758 /go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0 =
250
- knative.dev/hack v0.0.0-20250514121446-f525e187efdc h1:8HmclJlA0zNE/G1SkgdC3/IFSSyhaSz2iIhihU6YbEo =
251
- knative.dev/hack v0.0.0-20250514121446-f525e187efdc /go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY =
252
- knative.dev/networking v0.0.0-20250707164707-14e7b4882ada h1:5e4ty93xKfzxYad1/lk+H8y4VMfnlqObJ6qGPsXdW6M =
253
- knative.dev/networking v0.0.0-20250707164707-14e7b4882ada /go.mod h1:2oJaAUdMvfOYiMDCVaHUvmD+Vx7qpm1QPjtyf7yLWts =
254
- knative.dev/pkg v0.0.0-20250707154506-3eb1089fec09 h1:bKkpj8ivWscRoWznTIiJcaorlYGVIXHazqxDL03izSw =
255
- knative.dev/pkg v0.0.0-20250707154506-3eb1089fec09 /go.mod h1:I2vWm0knRQH2WBfpIAkRzOPk0XoXxfu8YJT63ddYWd4 =
250
+ knative.dev/hack v0.0.0-20250708013849-70d4b00da6ba h1:PkOTBI8DRfvUKD8HTvYYT94NJ49J++llrDo3y0/ZAwc =
251
+ knative.dev/hack v0.0.0-20250708013849-70d4b00da6ba /go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY =
252
+ knative.dev/networking v0.0.0-20250708014646-f8c92385906a h1:svYrI9zSPhZXNdQ3Id5syQAuZvpIevBOCPfUN6lWjso =
253
+ knative.dev/networking v0.0.0-20250708014646-f8c92385906a /go.mod h1:2oJaAUdMvfOYiMDCVaHUvmD+Vx7qpm1QPjtyf7yLWts =
254
+ knative.dev/pkg v0.0.0-20250710001404-a4cc1bdef5b2 h1:PH7kUY1glZNfo2aUp+rEsoWUeN49NgVmSwuEJvIKzqQ =
255
+ knative.dev/pkg v0.0.0-20250710001404-a4cc1bdef5b2 /go.mod h1:I2vWm0knRQH2WBfpIAkRzOPk0XoXxfu8YJT63ddYWd4 =
256
256
sigs.k8s.io/gateway-api v1.2.1 h1:fZZ/+RyRb+Y5tGkwxFKuYuSRQHu9dZtbjenblleOLHM =
257
257
sigs.k8s.io/gateway-api v1.2.1 /go.mod h1:EpNfEXNjiYfUJypf0eZ0P5iXA9ekSGWaS1WgPaM42X0 =
258
258
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 h1:gBQPwqORJ8d8/YNZWEjoZs7npUVDpVXUUOFfW6CgAqE =
Original file line number Diff line number Diff line change 31
31
)
32
32
33
33
type Config struct {
34
- Tracing TracingConfig
35
- Metrics MetricsConfig
36
- Runtime RuntimeConfig
34
+ Tracing TracingConfig `json:"tracing"`
35
+ Metrics MetricsConfig `json:"metrics"`
36
+ Runtime RuntimeConfig `json:"runtime"`
37
37
}
38
38
39
39
func DefaultConfig () * Config {
Original file line number Diff line number Diff line change @@ -35,10 +35,9 @@ const (
35
35
// Kubernetes ConfigMap during application startup, and accessed via the
36
36
// GetConfig() method.
37
37
type Config struct {
38
- Protocol string
39
- Endpoint string
40
-
41
- ExportInterval time.Duration
38
+ Protocol string `json:"protocol,omitempty"`
39
+ Endpoint string `json:"endpoint,omitempty"`
40
+ ExportInterval time.Duration `json:"exportInterval,omitempty"`
42
41
}
43
42
44
43
func (c * Config ) Validate () error {
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ const (
29
29
)
30
30
31
31
type Config struct {
32
- Profiling string
33
- ExportInterval time.Duration
32
+ Profiling string `json:"profiling,omitempty"`
33
+ ExportInterval time.Duration `json:"exportInterval,omitempty"`
34
34
}
35
35
36
36
func (c * Config ) Validate () error {
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ const (
31
31
)
32
32
33
33
type Config struct {
34
- Protocol string
35
- Endpoint string
36
- SamplingRate float64
34
+ Protocol string `json:"protocol,omitempty"`
35
+ Endpoint string `json:"endpoint,omitempty"`
36
+ SamplingRate float64 `json:"samplingRate,omitempty"`
37
37
}
38
38
39
39
func (c * Config ) Validate () error {
Original file line number Diff line number Diff line change @@ -1005,10 +1005,10 @@ k8s.io/utils/net
1005
1005
k8s.io/utils/pointer
1006
1006
k8s.io/utils/ptr
1007
1007
k8s.io/utils/trace
1008
- # knative.dev/hack v0.0.0-20250514121446-f525e187efdc
1008
+ # knative.dev/hack v0.0.0-20250708013849-70d4b00da6ba
1009
1009
## explicit; go 1.21
1010
1010
knative.dev/hack
1011
- # knative.dev/networking v0.0.0-20250707164707-14e7b4882ada
1011
+ # knative.dev/networking v0.0.0-20250708014646-f8c92385906a
1012
1012
## explicit; go 1.24.0
1013
1013
knative.dev/networking/config
1014
1014
knative.dev/networking/pkg
@@ -1052,7 +1052,7 @@ knative.dev/networking/test/test_images/runtime/handlers
1052
1052
knative.dev/networking/test/test_images/timeout
1053
1053
knative.dev/networking/test/test_images/wsserver
1054
1054
knative.dev/networking/test/types
1055
- # knative.dev/pkg v0.0.0-20250707154506-3eb1089fec09
1055
+ # knative.dev/pkg v0.0.0-20250710001404-a4cc1bdef5b2
1056
1056
## explicit; go 1.24.0
1057
1057
knative.dev/pkg/apis
1058
1058
knative.dev/pkg/apis/duck
You can’t perform that action at this time.
0 commit comments