Skip to content

Commit ceb4939

Browse files
committed
[DO NOT MERGE] Disable WeaklyTypedInput
1 parent c6d1482 commit ceb4939

File tree

64 files changed

+204
-59
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+204
-59
lines changed

cmd/mdatagen/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ require (
3030
github.com/gogo/protobuf v1.3.2 // indirect
3131
github.com/golang/protobuf v1.5.3 // indirect
3232
github.com/google/uuid v1.6.0 // indirect
33+
github.com/hashicorp/go-version v1.6.0 // indirect
3334
github.com/json-iterator/go v1.1.12 // indirect
3435
github.com/knadh/koanf/maps v0.1.1 // indirect
3536
github.com/knadh/koanf/providers/confmap v0.1.0 // indirect
@@ -44,6 +45,7 @@ require (
4445
github.com/prometheus/common v0.48.0 // indirect
4546
github.com/prometheus/procfs v0.12.0 // indirect
4647
go.opentelemetry.io/collector/config/configtelemetry v0.97.0 // indirect
48+
go.opentelemetry.io/collector/featuregate v0.0.0-00010101000000-000000000000 // indirect
4749
go.opentelemetry.io/otel v1.24.0 // indirect
4850
go.opentelemetry.io/otel/exporters/prometheus v0.46.0 // indirect
4951
go.opentelemetry.io/otel/sdk v1.24.0 // indirect

cmd/mdatagen/go.sum

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/mdatagen/internal/samplereceiver/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ metrics:
110110
optional.metric:
111111
enabled: false
112112
description: "[DEPRECATED] Gauge double metric disabled by default."
113-
unit: 1
113+
unit: "1"
114114
gauge:
115115
value_type: double
116116
attributes: [string_attr, boolean_attr]

cmd/mdatagen/testdata/invalid_type_attr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ metrics:
1818
metric:
1919
enabled: true
2020
description: Metric.
21-
unit: 1
21+
unit: "1"
2222
gauge:
2323
value_type: double
2424
attributes: [used_attr]

cmd/mdatagen/testdata/no_type_attr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ metrics:
1717
metric:
1818
enabled: true
1919
description: Metric.
20-
unit: 1
20+
unit: "1"
2121
gauge:
2222
value_type: double
2323
attributes: [used_attr]

cmd/mdatagen/testdata/unused_attribute.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ metrics:
2323
metric:
2424
enabled: true
2525
description: Metric.
26-
unit: 1
26+
unit: "1"
2727
gauge:
2828
value_type: double
2929
attributes: [used_attr]

component/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ require (
3030
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
3131
github.com/gogo/protobuf v1.3.2 // indirect
3232
github.com/golang/protobuf v1.5.3 // indirect
33+
github.com/hashicorp/go-version v1.6.0 // indirect
3334
github.com/knadh/koanf/maps v0.1.1 // indirect
3435
github.com/knadh/koanf/providers/confmap v0.1.0 // indirect
3536
github.com/knadh/koanf/v2 v2.1.0 // indirect
3637
github.com/mitchellh/copystructure v1.2.0 // indirect
3738
github.com/mitchellh/reflectwalk v1.0.2 // indirect
3839
github.com/pmezard/go-difflib v1.0.0 // indirect
3940
github.com/prometheus/procfs v0.12.0 // indirect
41+
go.opentelemetry.io/collector/featuregate v1.4.0 // indirect
4042
golang.org/x/net v0.23.0 // indirect
4143
golang.org/x/sys v0.18.0 // indirect
4244
golang.org/x/text v0.14.0 // indirect

component/go.sum

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/configauth/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ require (
1515
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
1616
github.com/gogo/protobuf v1.3.2 // indirect
1717
github.com/golang/protobuf v1.5.3 // indirect
18+
github.com/hashicorp/go-version v1.6.0 // indirect
1819
github.com/knadh/koanf/maps v0.1.1 // indirect
1920
github.com/knadh/koanf/providers/confmap v0.1.0 // indirect
2021
github.com/knadh/koanf/v2 v2.1.0 // indirect
@@ -23,6 +24,7 @@ require (
2324
github.com/pmezard/go-difflib v1.0.0 // indirect
2425
go.opentelemetry.io/collector/config/configtelemetry v0.97.0 // indirect
2526
go.opentelemetry.io/collector/confmap v0.97.0 // indirect
27+
go.opentelemetry.io/collector/featuregate v1.4.0 // indirect
2628
go.opentelemetry.io/collector/pdata v1.4.0 // indirect
2729
go.opentelemetry.io/otel v1.24.0 // indirect
2830
go.opentelemetry.io/otel/metric v1.24.0 // indirect

config/configauth/go.sum

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)