diff --git a/connector/countconnector/go.sum b/connector/countconnector/go.sum index 9a83f2229fe1..f05aba88788c 100644 --- a/connector/countconnector/go.sum +++ b/connector/countconnector/go.sum @@ -111,8 +111,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/pipeline/xpipeline v0.116.1-0.20241220212031-7c2639723f67 h1:SsGjXb5LkIjDi6nYc4MbYMjIJOiq3Ptv1iGFxRubuLU= diff --git a/connector/exceptionsconnector/go.sum b/connector/exceptionsconnector/go.sum index ace300fa03d3..9b3f49538a3b 100644 --- a/connector/exceptionsconnector/go.sum +++ b/connector/exceptionsconnector/go.sum @@ -78,8 +78,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/pipeline/xpipeline v0.116.1-0.20241220212031-7c2639723f67 h1:SsGjXb5LkIjDi6nYc4MbYMjIJOiq3Ptv1iGFxRubuLU= diff --git a/connector/routingconnector/go.sum b/connector/routingconnector/go.sum index 9276cf0263de..3872590862fb 100644 --- a/connector/routingconnector/go.sum +++ b/connector/routingconnector/go.sum @@ -113,8 +113,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/pipeline/xpipeline v0.116.1-0.20241220212031-7c2639723f67 h1:SsGjXb5LkIjDi6nYc4MbYMjIJOiq3Ptv1iGFxRubuLU= diff --git a/connector/signaltometricsconnector/go.sum b/connector/signaltometricsconnector/go.sum index 2812e9fe307d..ec0e35819195 100644 --- a/connector/signaltometricsconnector/go.sum +++ b/connector/signaltometricsconnector/go.sum @@ -109,8 +109,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/pipeline/xpipeline v0.116.1-0.20241220212031-7c2639723f67 h1:SsGjXb5LkIjDi6nYc4MbYMjIJOiq3Ptv1iGFxRubuLU= diff --git a/connector/spanmetricsconnector/go.sum b/connector/spanmetricsconnector/go.sum index 637e4f48fa4f..e2a55da3f13d 100644 --- a/connector/spanmetricsconnector/go.sum +++ b/connector/spanmetricsconnector/go.sum @@ -88,8 +88,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/pipeline/xpipeline v0.116.1-0.20241220212031-7c2639723f67 h1:SsGjXb5LkIjDi6nYc4MbYMjIJOiq3Ptv1iGFxRubuLU= diff --git a/connector/sumconnector/go.sum b/connector/sumconnector/go.sum index 9a83f2229fe1..f05aba88788c 100644 --- a/connector/sumconnector/go.sum +++ b/connector/sumconnector/go.sum @@ -111,8 +111,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/pipeline/xpipeline v0.116.1-0.20241220212031-7c2639723f67 h1:SsGjXb5LkIjDi6nYc4MbYMjIJOiq3Ptv1iGFxRubuLU= diff --git a/exporter/awsemfexporter/go.sum b/exporter/awsemfexporter/go.sum index 356ba6307179..767590312b4e 100644 --- a/exporter/awsemfexporter/go.sum +++ b/exporter/awsemfexporter/go.sum @@ -98,8 +98,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/awskinesisexporter/go.sum b/exporter/awskinesisexporter/go.sum index 044c087809f4..e9ebf6c36269 100644 --- a/exporter/awskinesisexporter/go.sum +++ b/exporter/awskinesisexporter/go.sum @@ -133,8 +133,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/awsxrayexporter/go.sum b/exporter/awsxrayexporter/go.sum index b77f230c0888..c44628a5a8c8 100644 --- a/exporter/awsxrayexporter/go.sum +++ b/exporter/awsxrayexporter/go.sum @@ -98,8 +98,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/azuredataexplorerexporter/go.sum b/exporter/azuredataexplorerexporter/go.sum index 86abdd8c460a..7678cef94be1 100644 --- a/exporter/azuredataexplorerexporter/go.sum +++ b/exporter/azuredataexplorerexporter/go.sum @@ -162,8 +162,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/azuremonitorexporter/go.sum b/exporter/azuremonitorexporter/go.sum index aa2682ddad53..475b6f695176 100644 --- a/exporter/azuremonitorexporter/go.sum +++ b/exporter/azuremonitorexporter/go.sum @@ -111,8 +111,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/carbonexporter/go.sum b/exporter/carbonexporter/go.sum index 555b87a555b7..e2cdbf493744 100644 --- a/exporter/carbonexporter/go.sum +++ b/exporter/carbonexporter/go.sum @@ -92,8 +92,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/cassandraexporter/go.sum b/exporter/cassandraexporter/go.sum index b400e73e0584..0a4951cf0d6f 100644 --- a/exporter/cassandraexporter/go.sum +++ b/exporter/cassandraexporter/go.sum @@ -106,8 +106,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/clickhouseexporter/go.sum b/exporter/clickhouseexporter/go.sum index 421d1ceb2689..a511a6f36e7b 100644 --- a/exporter/clickhouseexporter/go.sum +++ b/exporter/clickhouseexporter/go.sum @@ -217,8 +217,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/datadogexporter/go.mod b/exporter/datadogexporter/go.mod index 8ac9f7fb7eed..9709fe635241 100644 --- a/exporter/datadogexporter/go.mod +++ b/exporter/datadogexporter/go.mod @@ -95,6 +95,7 @@ require ( go.opentelemetry.io/collector/component/componenttest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/consumer/consumererror v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/exporter/exportertest v0.116.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 ) require ( @@ -352,7 +353,6 @@ require ( go.opentelemetry.io/collector/internal/memorylimiter v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/internal/sharedcomponent v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 // indirect - go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/pipeline/xpipeline v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/processor/processorhelper/xprocessorhelper v0.116.1-0.20241220212031-7c2639723f67 // indirect diff --git a/exporter/datadogexporter/logs_exporter_test.go b/exporter/datadogexporter/logs_exporter_test.go index 941561890853..f6ea6f143367 100644 --- a/exporter/datadogexporter/logs_exporter_test.go +++ b/exporter/datadogexporter/logs_exporter_test.go @@ -19,16 +19,18 @@ import ( "go.opentelemetry.io/collector/exporter/exportertest" "go.opentelemetry.io/collector/featuregate" "go.opentelemetry.io/collector/pdata/plog" + "go.opentelemetry.io/collector/pdata/testdata" conventions127 "go.opentelemetry.io/collector/semconv/v1.27.0" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil" ) +var logTime = time.Date(2020, 2, 11, 20, 26, 13, 789, time.UTC) + const timeFormatString = "2006-01-02T15:04:05.000Z07:00" func TestLogsExporter(t *testing.T) { - lr := testdata.GenerateLogsOneLogRecord() + lr := testdata.GenerateLogs(1) ld := lr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) type args struct { @@ -50,7 +52,7 @@ func TestLogsExporter(t *testing.T) { "message": ld.Body().AsString(), "app": "server", "instance_num": "1", - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "status": "Info", "dd.span_id": fmt.Sprintf("%d", spanIDToUint64(ld.SpanID())), "dd.trace_id": fmt.Sprintf("%d", traceIDToUint64(ld.TraceID())), @@ -59,7 +61,7 @@ func TestLogsExporter(t *testing.T) { "otel.severity_number": "9", "otel.span_id": traceutil.SpanIDToHexOrEmptyString(ld.SpanID()), "otel.trace_id": traceutil.TraceIDToHexOrEmptyString(ld.TraceID()), - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "resource-attr": "resource-attr-val-1", }, }, @@ -68,7 +70,7 @@ func TestLogsExporter(t *testing.T) { name: "message-attribute", args: args{ ld: func() plog.Logs { - lrr := testdata.GenerateLogsOneLogRecord() + lrr := testdata.GenerateLogs(1) ldd := lrr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) ldd.Attributes().PutStr("message", "hello") return lrr @@ -80,7 +82,7 @@ func TestLogsExporter(t *testing.T) { "message": "hello", "app": "server", "instance_num": "1", - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "status": "Info", "dd.span_id": fmt.Sprintf("%d", spanIDToUint64(ld.SpanID())), "dd.trace_id": fmt.Sprintf("%d", traceIDToUint64(ld.TraceID())), @@ -89,7 +91,7 @@ func TestLogsExporter(t *testing.T) { "otel.severity_number": "9", "otel.span_id": traceutil.SpanIDToHexOrEmptyString(ld.SpanID()), "otel.trace_id": traceutil.TraceIDToHexOrEmptyString(ld.TraceID()), - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "resource-attr": "resource-attr-val-1", }, }, @@ -98,7 +100,7 @@ func TestLogsExporter(t *testing.T) { name: "ddtags", args: args{ ld: func() plog.Logs { - lrr := testdata.GenerateLogsOneLogRecord() + lrr := testdata.GenerateLogs(1) ldd := lrr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) ldd.Attributes().PutStr("ddtags", "tag1:true") return lrr @@ -110,7 +112,7 @@ func TestLogsExporter(t *testing.T) { "message": ld.Body().AsString(), "app": "server", "instance_num": "1", - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "status": "Info", "dd.span_id": fmt.Sprintf("%d", spanIDToUint64(ld.SpanID())), "dd.trace_id": fmt.Sprintf("%d", traceIDToUint64(ld.TraceID())), @@ -119,7 +121,7 @@ func TestLogsExporter(t *testing.T) { "otel.severity_number": "9", "otel.span_id": traceutil.SpanIDToHexOrEmptyString(ld.SpanID()), "otel.trace_id": traceutil.TraceIDToHexOrEmptyString(ld.TraceID()), - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "resource-attr": "resource-attr-val-1", }, }, @@ -128,7 +130,7 @@ func TestLogsExporter(t *testing.T) { name: "ddtags submits same tags", args: args{ ld: func() plog.Logs { - lrr := testdata.GenerateLogsTwoLogRecordsSameResource() + lrr := testdata.GenerateLogs(2) ldd := lrr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) ldd.Attributes().PutStr("ddtags", "tag1:true") ldd2 := lrr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(1) @@ -142,7 +144,7 @@ func TestLogsExporter(t *testing.T) { "message": ld.Body().AsString(), "app": "server", "instance_num": "1", - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "status": "Info", "dd.span_id": fmt.Sprintf("%d", spanIDToUint64(ld.SpanID())), "dd.trace_id": fmt.Sprintf("%d", traceIDToUint64(ld.TraceID())), @@ -151,19 +153,19 @@ func TestLogsExporter(t *testing.T) { "otel.severity_number": "9", "otel.span_id": traceutil.SpanIDToHexOrEmptyString(ld.SpanID()), "otel.trace_id": traceutil.TraceIDToHexOrEmptyString(ld.TraceID()), - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "resource-attr": "resource-attr-val-1", }, { "message": "something happened", "env": "dev", "customer": "acme", - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "status": "Info", "ddtags": "tag1:true,otel_source:datadog_exporter", "otel.severity_text": "Info", "otel.severity_number": "9", - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "resource-attr": "resource-attr-val-1", }, }, @@ -172,7 +174,7 @@ func TestLogsExporter(t *testing.T) { name: "ddtags submits different tags", args: args{ ld: func() plog.Logs { - lrr := testdata.GenerateLogsTwoLogRecordsSameResource() + lrr := testdata.GenerateLogs(2) ldd := lrr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) ldd.Attributes().PutStr("ddtags", "tag1:true") ldd2 := lrr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(1) @@ -186,7 +188,7 @@ func TestLogsExporter(t *testing.T) { "message": ld.Body().AsString(), "app": "server", "instance_num": "1", - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "status": "Info", "dd.span_id": fmt.Sprintf("%d", spanIDToUint64(ld.SpanID())), "dd.trace_id": fmt.Sprintf("%d", traceIDToUint64(ld.TraceID())), @@ -195,19 +197,19 @@ func TestLogsExporter(t *testing.T) { "otel.severity_number": "9", "otel.span_id": traceutil.SpanIDToHexOrEmptyString(ld.SpanID()), "otel.trace_id": traceutil.TraceIDToHexOrEmptyString(ld.TraceID()), - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "resource-attr": "resource-attr-val-1", }, { "message": "something happened", "env": "dev", "customer": "acme", - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "status": "Info", "ddtags": "tag2:true,otel_source:datadog_exporter", "otel.severity_text": "Info", "otel.severity_number": "9", - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "resource-attr": "resource-attr-val-1", }, }, @@ -246,7 +248,7 @@ func TestLogsExporter(t *testing.T) { } func TestLogsAgentExporter(t *testing.T) { - lr := testdata.GenerateLogsOneLogRecord() + lr := testdata.GenerateLogs(1) ld := lr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) type args struct { @@ -267,7 +269,7 @@ func TestLogsAgentExporter(t *testing.T) { want: testutil.JSONLogs{ { "message": testutil.JSONLog{ - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "app": "server", "dd.span_id": fmt.Sprintf("%d", spanIDToUint64(ld.SpanID())), "dd.trace_id": fmt.Sprintf("%d", traceIDToUint64(ld.TraceID())), @@ -276,7 +278,7 @@ func TestLogsAgentExporter(t *testing.T) { "otel.severity_number": "9", "otel.severity_text": "Info", "otel.span_id": traceutil.SpanIDToHexOrEmptyString(ld.SpanID()), - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "otel.trace_id": traceutil.TraceIDToHexOrEmptyString(ld.TraceID()), "resource-attr": "resource-attr-val-1", "status": "Info", @@ -292,7 +294,7 @@ func TestLogsAgentExporter(t *testing.T) { name: "message-attribute", args: args{ ld: func() plog.Logs { - lrr := testdata.GenerateLogsOneLogRecord() + lrr := testdata.GenerateLogs(1) ldd := lrr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) ldd.Attributes().PutStr("attr", "hello") ldd.Attributes().PutStr("service.name", "service") @@ -304,7 +306,7 @@ func TestLogsAgentExporter(t *testing.T) { want: testutil.JSONLogs{ { "message": testutil.JSONLog{ - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "app": "server", "dd.span_id": fmt.Sprintf("%d", spanIDToUint64(ld.SpanID())), "dd.trace_id": fmt.Sprintf("%d", traceIDToUint64(ld.TraceID())), @@ -313,7 +315,7 @@ func TestLogsAgentExporter(t *testing.T) { "otel.severity_number": "9", "otel.severity_text": "Info", "otel.span_id": traceutil.SpanIDToHexOrEmptyString(ld.SpanID()), - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "otel.trace_id": traceutil.TraceIDToHexOrEmptyString(ld.TraceID()), "resource-attr": "resource-attr-val-1", "status": "Info", @@ -334,7 +336,7 @@ func TestLogsAgentExporter(t *testing.T) { name: "ddtags", args: args{ ld: func() plog.Logs { - lrr := testdata.GenerateLogsOneLogRecord() + lrr := testdata.GenerateLogs(1) ldd := lrr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) ldd.Attributes().PutStr("ddtags", "tag1:true") return lrr @@ -344,7 +346,7 @@ func TestLogsAgentExporter(t *testing.T) { want: testutil.JSONLogs{ { "message": testutil.JSONLog{ - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "app": "server", "dd.span_id": fmt.Sprintf("%d", spanIDToUint64(ld.SpanID())), "dd.trace_id": fmt.Sprintf("%d", traceIDToUint64(ld.TraceID())), @@ -353,7 +355,7 @@ func TestLogsAgentExporter(t *testing.T) { "otel.severity_number": "9", "otel.severity_text": "Info", "otel.span_id": traceutil.SpanIDToHexOrEmptyString(ld.SpanID()), - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "otel.trace_id": traceutil.TraceIDToHexOrEmptyString(ld.TraceID()), "resource-attr": "resource-attr-val-1", "status": "Info", @@ -369,7 +371,7 @@ func TestLogsAgentExporter(t *testing.T) { name: "ddtags submits same tags", args: args{ ld: func() plog.Logs { - lrr := testdata.GenerateLogsTwoLogRecordsSameResource() + lrr := testdata.GenerateLogs(2) ldd := lrr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) ldd.Attributes().PutStr("ddtags", "tag1:true") ldd2 := lrr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(1) @@ -382,7 +384,7 @@ func TestLogsAgentExporter(t *testing.T) { want: testutil.JSONLogs{ { "message": testutil.JSONLog{ - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "app": "server", "dd.span_id": fmt.Sprintf("%d", spanIDToUint64(ld.SpanID())), "dd.trace_id": fmt.Sprintf("%d", traceIDToUint64(ld.TraceID())), @@ -391,7 +393,7 @@ func TestLogsAgentExporter(t *testing.T) { "otel.severity_number": "9", "otel.severity_text": "Info", "otel.span_id": traceutil.SpanIDToHexOrEmptyString(ld.SpanID()), - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "otel.trace_id": traceutil.TraceIDToHexOrEmptyString(ld.TraceID()), "resource-attr": "resource-attr-val-1", "status": "Info", @@ -403,11 +405,11 @@ func TestLogsAgentExporter(t *testing.T) { }, { "message": testutil.JSONLog{ - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "message": "something happened", "otel.severity_number": "9", "otel.severity_text": "Info", - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "resource-attr": "resource-attr-val-1", "status": "Info", "env": "dev", @@ -424,7 +426,7 @@ func TestLogsAgentExporter(t *testing.T) { name: "ddtags submits different tags", args: args{ ld: func() plog.Logs { - lrr := testdata.GenerateLogsTwoLogRecordsSameResource() + lrr := testdata.GenerateLogs(2) ldd := lrr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) ldd.Attributes().PutStr("ddtags", "tag1:true") ldd2 := lrr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(1) @@ -436,7 +438,7 @@ func TestLogsAgentExporter(t *testing.T) { want: testutil.JSONLogs{ { "message": testutil.JSONLog{ - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "app": "server", "dd.span_id": fmt.Sprintf("%d", spanIDToUint64(ld.SpanID())), "dd.trace_id": fmt.Sprintf("%d", traceIDToUint64(ld.TraceID())), @@ -445,7 +447,7 @@ func TestLogsAgentExporter(t *testing.T) { "otel.severity_number": "9", "otel.severity_text": "Info", "otel.span_id": traceutil.SpanIDToHexOrEmptyString(ld.SpanID()), - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "otel.trace_id": traceutil.TraceIDToHexOrEmptyString(ld.TraceID()), "resource-attr": "resource-attr-val-1", "status": "Info", @@ -457,11 +459,11 @@ func TestLogsAgentExporter(t *testing.T) { }, { "message": testutil.JSONLog{ - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "message": "something happened", "otel.severity_number": "9", "otel.severity_text": "Info", - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "resource-attr": "resource-attr-val-1", "status": "Info", "env": "dev", @@ -483,7 +485,7 @@ func TestLogsAgentExporter(t *testing.T) { want: testutil.JSONLogs{ { "message": testutil.JSONLog{ - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "app": "server", "dd.span_id": fmt.Sprintf("%d", spanIDToUint64(ld.SpanID())), "dd.trace_id": fmt.Sprintf("%d", traceIDToUint64(ld.TraceID())), @@ -492,7 +494,7 @@ func TestLogsAgentExporter(t *testing.T) { "otel.severity_number": "9", "otel.severity_text": "Info", "otel.span_id": traceutil.SpanIDToHexOrEmptyString(ld.SpanID()), - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "otel.trace_id": traceutil.TraceIDToHexOrEmptyString(ld.TraceID()), "resource-attr": "resource-attr-val-1", "status": "Info", @@ -508,7 +510,7 @@ func TestLogsAgentExporter(t *testing.T) { name: "new-env-convention", args: args{ ld: func() plog.Logs { - lrr := testdata.GenerateLogsOneLogRecord() + lrr := testdata.GenerateLogs(1) lrr.ResourceLogs().At(0).Resource().Attributes().PutStr(conventions127.AttributeDeploymentEnvironmentName, "new_env") return lrr }(), @@ -517,7 +519,7 @@ func TestLogsAgentExporter(t *testing.T) { want: testutil.JSONLogs{ { "message": testutil.JSONLog{ - "@timestamp": testdata.TestLogTime.Format(timeFormatString), + "@timestamp": logTime.Format(timeFormatString), "app": "server", "dd.span_id": fmt.Sprintf("%d", spanIDToUint64(ld.SpanID())), "dd.trace_id": fmt.Sprintf("%d", traceIDToUint64(ld.TraceID())), @@ -527,7 +529,7 @@ func TestLogsAgentExporter(t *testing.T) { "otel.severity_number": "9", "otel.severity_text": "Info", "otel.span_id": traceutil.SpanIDToHexOrEmptyString(ld.SpanID()), - "otel.timestamp": fmt.Sprintf("%d", testdata.TestLogTime.UnixNano()), + "otel.timestamp": fmt.Sprintf("%d", logTime.UnixNano()), "otel.trace_id": traceutil.TraceIDToHexOrEmptyString(ld.TraceID()), "resource-attr": "resource-attr-val-1", "status": "Info", diff --git a/exporter/datasetexporter/go.mod b/exporter/datasetexporter/go.mod index daef5169e404..ada6d0b5df8d 100644 --- a/exporter/datasetexporter/go.mod +++ b/exporter/datasetexporter/go.mod @@ -22,6 +22,7 @@ require ( go.opentelemetry.io/collector/config/configopaque v1.22.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/config/configretry v1.22.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/exporter/exportertest v0.116.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 ) require ( diff --git a/exporter/datasetexporter/go.sum b/exporter/datasetexporter/go.sum index 36a727f00b49..b9e91c0b7587 100644 --- a/exporter/datasetexporter/go.sum +++ b/exporter/datasetexporter/go.sum @@ -94,8 +94,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/datasetexporter/logs_exporter_test.go b/exporter/datasetexporter/logs_exporter_test.go index c07b44c27781..c373e6fa0660 100644 --- a/exporter/datasetexporter/logs_exporter_test.go +++ b/exporter/datasetexporter/logs_exporter_test.go @@ -27,8 +27,7 @@ import ( "go.opentelemetry.io/collector/exporter/exportertest" "go.opentelemetry.io/collector/pdata/pcommon" "go.opentelemetry.io/collector/pdata/plog" - - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" + "go.opentelemetry.io/collector/pdata/testdata" ) func TestBuildBody(t *testing.T) { @@ -560,7 +559,8 @@ func TestBuildEventFromLog(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - lr := testdata.GenerateLogsOneEmptyLogRecord() + lr := plog.NewLogs() + lr.ResourceLogs().AppendEmpty().ScopeLogs().AppendEmpty().LogRecords().AppendEmpty() ld := lr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) resource := lr.ResourceLogs().At(0).Resource() scope := lr.ResourceLogs().At(0).ScopeLogs().At(0).Scope() @@ -568,7 +568,7 @@ func TestBuildEventFromLog(t *testing.T) { fillAttributes(resource.Attributes(), false, "R") fillAttributes(scope.Attributes(), false, "S") fillAttributes(ld.Attributes(), false, "A") - ld.SetTimestamp(testdata.TestLogTimestamp) + ld.SetTimestamp(1581452773000000789) if tt.includeSpanID { ld.SetSpanID([8]byte{1, 1, 1, 1, 1, 1, 1, 1}) } @@ -607,7 +607,7 @@ func TestBuildEventFromLog(t *testing.T) { } func TestBuildEventFromLogExportResources(t *testing.T) { - lr := testdata.GenerateLogsOneLogRecord() + lr := testdata.GenerateLogs(1) ld := lr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) defaultAttrs := testLEventRaw.Attrs @@ -640,7 +640,7 @@ func TestBuildEventFromLogExportResources(t *testing.T) { } func TestBuildEventFromLogExportScopeInfo(t *testing.T) { - lr := testdata.GenerateLogsOneLogRecord() + lr := testdata.GenerateLogs(1) ld := lr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) scope := pcommon.NewInstrumentationScope() @@ -676,7 +676,7 @@ func TestBuildEventFromLogExportScopeInfo(t *testing.T) { func TestBuildEventFromLogEventWithoutTimestampWithObservedTimestampUseObservedTimestamp(t *testing.T) { // When LogRecord doesn't have timestamp set, but it has ObservedTimestamp set, // ObservedTimestamp should be used - lr := testdata.GenerateLogsOneLogRecord() + lr := testdata.GenerateLogs(1) ld := lr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) ld.SetTimestamp(pcommon.NewTimestampFromTime(time.Unix(0, 0))) @@ -714,7 +714,7 @@ func TestBuildEventFromLogEventWithoutTimestampWithOutObservedTimestampUseCurren assert.Equal(t, currentTime, time.Unix(123456789, 0)) assert.Equal(t, "123456789000000000", strconv.FormatInt(currentTime.UnixNano(), 10)) - lr := testdata.GenerateLogsOneLogRecord() + lr := testdata.GenerateLogs(1) ld := lr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) ld.SetTimestamp(pcommon.NewTimestampFromTime(time.Unix(0, 0))) @@ -821,20 +821,20 @@ func TestConsumeLogsShouldSucceed(t *testing.T) { TimeoutSettings: exporterhelper.NewDefaultTimeoutConfig(), } - lr1 := testdata.GenerateLogsOneLogRecord() - lr2 := testdata.GenerateLogsOneLogRecord() + lr1 := testdata.GenerateLogs(1) + lr2 := testdata.GenerateLogs(1) // set attribute for the hostname, it should beat value from resource lr2.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0).Attributes().PutStr(add_events.AttrServerHost, "serverHostFromAttribute") lr2.ResourceLogs().At(0).Resource().Attributes().PutStr(add_events.AttrServerHost, "serverHostFromResource") // set attribute serverHost and host.name attributes in the resource, serverHost will win - lr3 := testdata.GenerateLogsOneLogRecord() + lr3 := testdata.GenerateLogs(1) lr3.ResourceLogs().At(0).Resource().Attributes().PutStr(add_events.AttrServerHost, "serverHostFromResourceServer") lr3.ResourceLogs().At(0).Resource().Attributes().PutStr("host.name", "serverHostFromResourceHost") // set attribute host.name in the resource attribute - lr4 := testdata.GenerateLogsOneLogRecord() + lr4 := testdata.GenerateLogs(1) lr4.ResourceLogs().At(0).Resource().Attributes().PutStr("host.name", "serverHostFromResourceHost") // set all possible values - lr5 := testdata.GenerateLogsOneLogRecord() + lr5 := testdata.GenerateLogs(1) fillAttributes(lr5.ResourceLogs().At(0).Resource().Attributes(), true, "R") fillAttributes(lr5.ResourceLogs().At(0).ScopeLogs().At(0).Scope().Attributes(), true, "S") fillAttributes(lr5.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0).Attributes(), true, "A") @@ -1068,7 +1068,7 @@ func TestConsumeLogsShouldSucceed(t *testing.T) { } func makeLogRecordWithSeverityNumberAndSeverityText(sevNum int, sevText string) plog.LogRecord { - lr := testdata.GenerateLogsOneLogRecord() + lr := testdata.GenerateLogs(1) ld := lr.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0) ld.SetSeverityNumber(plog.SeverityNumber(sevNum)) diff --git a/exporter/dorisexporter/go.sum b/exporter/dorisexporter/go.sum index 407f43b689b9..9970ad1be773 100644 --- a/exporter/dorisexporter/go.sum +++ b/exporter/dorisexporter/go.sum @@ -124,8 +124,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/elasticsearchexporter/go.sum b/exporter/elasticsearchexporter/go.sum index 74184bd1cab2..7290c852b0e4 100644 --- a/exporter/elasticsearchexporter/go.sum +++ b/exporter/elasticsearchexporter/go.sum @@ -168,8 +168,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/fileexporter/file_exporter_test.go b/exporter/fileexporter/file_exporter_test.go index f4d559693273..50a2b3006799 100644 --- a/exporter/fileexporter/file_exporter_test.go +++ b/exporter/fileexporter/file_exporter_test.go @@ -24,10 +24,9 @@ import ( "go.opentelemetry.io/collector/pdata/pmetric" "go.opentelemetry.io/collector/pdata/pprofile" "go.opentelemetry.io/collector/pdata/ptrace" + "go.opentelemetry.io/collector/pdata/testdata" "go.uber.org/zap" "gopkg.in/natefinch/lumberjack.v2" - - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" ) func buildUnCompressor(compressor string) func([]byte) ([]byte, error) { @@ -133,7 +132,7 @@ func TestFileTracesExporter(t *testing.T) { require.IsType(t, &fileExporter{}, feI) fe := feI.(*fileExporter) - td := testdata.GenerateTracesTwoSpansSameResource() + td := testdata.GenerateTraces(2) assert.NoError(t, fe.Start(context.Background(), componenttest.NewNopHost())) assert.NoError(t, fe.consumeTraces(context.Background(), td)) assert.NoError(t, fe.consumeTraces(context.Background(), td)) @@ -182,7 +181,7 @@ func TestFileTracesExporterError(t *testing.T) { } require.NotNil(t, fe) - td := testdata.GenerateTracesTwoSpansSameResource() + td := testdata.GenerateTraces(2) // Cannot call Start since we inject directly the WriterCloser. assert.Error(t, fe.consumeTraces(context.Background(), td)) assert.NoError(t, fe.Shutdown(context.Background())) @@ -265,7 +264,7 @@ func TestFileMetricsExporter(t *testing.T) { } require.NotNil(t, fe) - md := testdata.GenerateMetricsTwoMetrics() + md := testdata.GenerateMetrics(2) assert.NoError(t, fe.Start(context.Background(), componenttest.NewNopHost())) assert.NoError(t, fe.consumeMetrics(context.Background(), md)) assert.NoError(t, fe.consumeMetrics(context.Background(), md)) @@ -315,7 +314,7 @@ func TestFileMetricsExporterError(t *testing.T) { } require.NotNil(t, fe) - md := testdata.GenerateMetricsTwoMetrics() + md := testdata.GenerateMetrics(2) // Cannot call Start since we inject directly the WriterCloser. assert.Error(t, fe.consumeMetrics(context.Background(), md)) assert.NoError(t, fe.Shutdown(context.Background())) @@ -398,7 +397,7 @@ func TestFileLogsExporter(t *testing.T) { } require.NotNil(t, fe) - ld := testdata.GenerateLogsTwoLogRecordsSameResource() + ld := testdata.GenerateLogs(2) assert.NoError(t, fe.Start(context.Background(), componenttest.NewNopHost())) assert.NoError(t, fe.consumeLogs(context.Background(), ld)) assert.NoError(t, fe.consumeLogs(context.Background(), ld)) @@ -447,7 +446,7 @@ func TestFileLogsExporterErrors(t *testing.T) { } require.NotNil(t, fe) - ld := testdata.GenerateLogsTwoLogRecordsSameResource() + ld := testdata.GenerateLogs(2) // Cannot call Start since we inject directly the WriterCloser. assert.Error(t, fe.consumeLogs(context.Background(), ld)) assert.NoError(t, fe.Shutdown(context.Background())) @@ -530,7 +529,7 @@ func TestFileProfilesExporter(t *testing.T) { } require.NotNil(t, fe) - pd := testdata.GenerateProfilesTwoProfilesSameResource() + pd := testdata.GenerateProfiles(2) assert.NoError(t, fe.Start(context.Background(), componenttest.NewNopHost())) assert.NoError(t, fe.consumeProfiles(context.Background(), pd)) assert.NoError(t, fe.consumeProfiles(context.Background(), pd)) @@ -579,7 +578,7 @@ func TestFileProfilesExporterErrors(t *testing.T) { } require.NotNil(t, fe) - pd := testdata.GenerateProfilesTwoProfilesSameResource() + pd := testdata.GenerateProfiles(2) // Cannot call Start since we inject directly the WriterCloser. assert.Error(t, fe.consumeProfiles(context.Background(), pd)) assert.NoError(t, fe.Shutdown(context.Background())) @@ -603,7 +602,7 @@ func TestExportMessageAsBuffer(t *testing.T) { } require.NotNil(t, fe) // - ld := testdata.GenerateLogsManyLogRecordsSameResource(15000) + ld := testdata.GenerateLogs(15000) marshaler := &plog.ProtoMarshaler{} buf, err := marshaler.MarshalLogs(ld) assert.NoError(t, err) @@ -674,10 +673,10 @@ func TestConcurrentlyCompress(t *testing.T) { cld []byte cpd []byte ) - td := testdata.GenerateTracesTwoSpansSameResource() - md := testdata.GenerateMetricsTwoMetrics() - ld := testdata.GenerateLogsTwoLogRecordsSameResource() - pd := testdata.GenerateProfilesTwoProfilesSameResource() + td := testdata.GenerateTraces(2) + md := testdata.GenerateMetrics(2) + ld := testdata.GenerateLogs(2) + pd := testdata.GenerateProfiles(2) go func() { defer wg.Done() buf, err := tracesMarshalers[formatTypeJSON].MarshalTraces(td) diff --git a/exporter/fileexporter/go.mod b/exporter/fileexporter/go.mod index d3554b5b2653..aa9d7b9f9c6c 100644 --- a/exporter/fileexporter/go.mod +++ b/exporter/fileexporter/go.mod @@ -6,7 +6,7 @@ require ( github.com/hashicorp/golang-lru/v2 v2.0.7 github.com/klauspost/compress v1.17.11 github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding/otlpencodingextension v0.116.0 - github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.116.0 + github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.0.0-00010101000000-000000000000 github.com/open-telemetry/opentelemetry-collector-contrib/internal/sharedcomponent v0.116.0 github.com/stretchr/testify v1.10.0 go.opentelemetry.io/collector/component v0.116.1-0.20241220212031-7c2639723f67 @@ -21,6 +21,7 @@ require ( go.opentelemetry.io/collector/extension/extensiontest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.uber.org/goleak v1.3.0 go.uber.org/zap v1.27.0 gopkg.in/natefinch/lumberjack.v2 v2.2.1 diff --git a/exporter/fileexporter/go.sum b/exporter/fileexporter/go.sum index 9141ca9b302c..2827b60e5e50 100644 --- a/exporter/fileexporter/go.sum +++ b/exporter/fileexporter/go.sum @@ -100,8 +100,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/pipeline/xpipeline v0.116.1-0.20241220212031-7c2639723f67 h1:SsGjXb5LkIjDi6nYc4MbYMjIJOiq3Ptv1iGFxRubuLU= diff --git a/exporter/honeycombmarkerexporter/go.sum b/exporter/honeycombmarkerexporter/go.sum index 6a1b12bb2386..50797bb1c824 100644 --- a/exporter/honeycombmarkerexporter/go.sum +++ b/exporter/honeycombmarkerexporter/go.sum @@ -151,8 +151,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/lokiexporter/go.sum b/exporter/lokiexporter/go.sum index 388c3f1da81e..0d3b00391ca8 100644 --- a/exporter/lokiexporter/go.sum +++ b/exporter/lokiexporter/go.sum @@ -176,8 +176,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/prometheusexporter/go.mod b/exporter/prometheusexporter/go.mod index c56ccb55cf41..34915f689f69 100644 --- a/exporter/prometheusexporter/go.mod +++ b/exporter/prometheusexporter/go.mod @@ -3,7 +3,6 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/promet go 1.22.0 require ( - github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/pkg/resourcetotelemetry v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheus v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.116.0 @@ -20,6 +19,7 @@ require ( go.opentelemetry.io/collector/exporter v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/exporter/exportertest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/receiver/receivertest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 go.uber.org/goleak v1.3.0 @@ -122,6 +122,7 @@ require ( github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/moby/docker-image-spec v1.3.1 // indirect + github.com/moby/term v0.5.0 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect diff --git a/exporter/prometheusexporter/prometheus_test.go b/exporter/prometheusexporter/prometheus_test.go index 563f7803eaff..9d2d2b7a7149 100644 --- a/exporter/prometheusexporter/prometheus_test.go +++ b/exporter/prometheusexporter/prometheus_test.go @@ -19,9 +19,9 @@ import ( "go.opentelemetry.io/collector/exporter/exportertest" "go.opentelemetry.io/collector/pdata/pcommon" "go.opentelemetry.io/collector/pdata/pmetric" + "go.opentelemetry.io/collector/pdata/testdata" conventions "go.opentelemetry.io/collector/semconv/v1.25.0" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/resourcetotelemetry" ) @@ -140,7 +140,7 @@ func TestPrometheusExporter_WithTLS(t *testing.T) { require.NoError(t, exp.Start(context.Background(), componenttest.NewNopHost())) - md := testdata.GenerateMetricsOneMetric() + md := testdata.GenerateMetrics(1) assert.NotNil(t, md) assert.NoError(t, exp.ConsumeMetrics(context.Background(), md)) @@ -403,7 +403,7 @@ func TestPrometheusExporter_endToEndWithResource(t *testing.T) { assert.NotNil(t, exp) require.NoError(t, exp.Start(context.Background(), componenttest.NewNopHost())) - md := testdata.GenerateMetricsOneMetric() + md := testdata.GenerateMetrics(1) assert.NotNil(t, md) assert.NoError(t, exp.ConsumeMetrics(context.Background(), md)) diff --git a/exporter/prometheusremotewriteexporter/exporter_test.go b/exporter/prometheusremotewriteexporter/exporter_test.go index d35a06ea3840..2631e981d793 100644 --- a/exporter/prometheusremotewriteexporter/exporter_test.go +++ b/exporter/prometheusremotewriteexporter/exporter_test.go @@ -33,10 +33,9 @@ import ( "go.opentelemetry.io/collector/exporter/exporterhelper" "go.opentelemetry.io/collector/exporter/exportertest" "go.opentelemetry.io/collector/pdata/pmetric" + "go.opentelemetry.io/collector/pdata/testdata" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/sdk/metric/metricdata" - - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" ) // Test_NewPRWExporter checks that a new exporter instance with non-nil fields is initialized @@ -388,7 +387,7 @@ func Test_PushMetrics(t *testing.T) { invalidTypeBatch := testdata.GenerateMetricsMetricTypeInvalid() // success cases - intSumBatch := testdata.GenerateMetricsManyMetricsSameResource(10) + intSumBatch := testdata.GenerateMetrics(10) sumBatch := getMetricsFromMetricList(validMetrics1[validSum], validMetrics2[validSum]) diff --git a/exporter/prometheusremotewriteexporter/go.mod b/exporter/prometheusremotewriteexporter/go.mod index 010860747248..3b242b08f1aa 100644 --- a/exporter/prometheusremotewriteexporter/go.mod +++ b/exporter/prometheusremotewriteexporter/go.mod @@ -7,7 +7,6 @@ require ( github.com/fsnotify/fsnotify v1.8.0 github.com/gogo/protobuf v1.3.2 github.com/golang/snappy v0.0.4 - github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/pkg/resourcetotelemetry v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheus v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheusremotewrite v0.116.0 @@ -27,6 +26,7 @@ require ( go.opentelemetry.io/collector/exporter/exportertest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/featuregate v1.22.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/otel v1.32.0 go.opentelemetry.io/otel/metric v1.32.0 go.opentelemetry.io/otel/sdk/metric v1.32.0 diff --git a/exporter/prometheusremotewriteexporter/go.sum b/exporter/prometheusremotewriteexporter/go.sum index cc796742d5ed..617c7565f2be 100644 --- a/exporter/prometheusremotewriteexporter/go.sum +++ b/exporter/prometheusremotewriteexporter/go.sum @@ -140,8 +140,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/pulsarexporter/go.mod b/exporter/pulsarexporter/go.mod index 6f62927a2838..a495c0c7fab3 100644 --- a/exporter/pulsarexporter/go.mod +++ b/exporter/pulsarexporter/go.mod @@ -7,7 +7,6 @@ require ( github.com/cenkalti/backoff/v4 v4.3.0 github.com/gogo/protobuf v1.3.2 github.com/jaegertracing/jaeger v1.62.0 - github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger v0.116.0 github.com/stretchr/testify v1.10.0 go.opentelemetry.io/collector/component v0.116.1-0.20241220212031-7c2639723f67 @@ -20,6 +19,7 @@ require ( go.opentelemetry.io/collector/exporter v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/exporter/exportertest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 go.uber.org/goleak v1.3.0 go.uber.org/multierr v1.11.0 @@ -64,6 +64,7 @@ require ( github.com/modern-go/reflect2 v1.0.2 // indirect github.com/mtibben/percent v0.2.1 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect + github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.116.0 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect diff --git a/exporter/pulsarexporter/go.sum b/exporter/pulsarexporter/go.sum index a27eff936259..2332f46ecc19 100644 --- a/exporter/pulsarexporter/go.sum +++ b/exporter/pulsarexporter/go.sum @@ -256,8 +256,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/pulsarexporter/pulsar_exporter_test.go b/exporter/pulsarexporter/pulsar_exporter_test.go index 0d37c4602367..58310a0172f5 100644 --- a/exporter/pulsarexporter/pulsar_exporter_test.go +++ b/exporter/pulsarexporter/pulsar_exporter_test.go @@ -13,8 +13,7 @@ import ( "go.opentelemetry.io/collector/consumer/consumererror" "go.opentelemetry.io/collector/exporter/exportertest" "go.opentelemetry.io/collector/pdata/ptrace" - - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" + "go.opentelemetry.io/collector/pdata/testdata" ) func TestNewMetricsExporter_err_encoding(t *testing.T) { @@ -48,7 +47,7 @@ func TestNewLogsExporter_err_traces_encoding(t *testing.T) { func Test_tracerPublisher(t *testing.T) { mProducer := &mockProducer{name: "producer1", topic: "default"} producer := PulsarTracesProducer{client: nil, producer: mProducer, marshaler: tracesMarshalers()["jaeger_proto"]} - err := producer.tracesPusher(context.Background(), testdata.GenerateTracesManySpansSameResource(10)) + err := producer.tracesPusher(context.Background(), testdata.GenerateTraces(10)) assert.NoError(t, err) } @@ -56,7 +55,7 @@ func Test_tracerPublisher(t *testing.T) { func Test_tracerPublisher_marshaler_err(t *testing.T) { mProducer := &mockProducer{name: "producer1", topic: "default"} producer := PulsarTracesProducer{client: nil, producer: mProducer, marshaler: &customTraceMarshaler{encoding: "unknown"}} - err := producer.tracesPusher(context.Background(), testdata.GenerateTracesManySpansSameResource(10)) + err := producer.tracesPusher(context.Background(), testdata.GenerateTraces(10)) assert.Error(t, err) assert.True(t, consumererror.IsPermanent(err)) diff --git a/exporter/rabbitmqexporter/go.mod b/exporter/rabbitmqexporter/go.mod index 2e95b4cb9ca0..5420c199fdcb 100644 --- a/exporter/rabbitmqexporter/go.mod +++ b/exporter/rabbitmqexporter/go.mod @@ -3,7 +3,6 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/rabbit go 1.22.0 require ( - github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/internal/rabbitmq v0.116.0 github.com/rabbitmq/amqp091-go v1.10.0 github.com/stretchr/testify v1.10.0 @@ -17,12 +16,14 @@ require ( go.opentelemetry.io/collector/exporter v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/exporter/exportertest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.uber.org/goleak v1.3.0 go.uber.org/zap v1.27.0 ) require ( dario.cat/mergo v1.0.0 // indirect + github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect github.com/Microsoft/go-winio v0.6.2 // indirect github.com/cenkalti/backoff/v4 v4.3.0 // indirect @@ -90,17 +91,17 @@ require ( go.opentelemetry.io/collector/receiver/xreceiver v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect go.opentelemetry.io/otel v1.32.0 // indirect - go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 // indirect + go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0 // indirect go.opentelemetry.io/otel/metric v1.32.0 // indirect go.opentelemetry.io/otel/sdk v1.32.0 // indirect go.opentelemetry.io/otel/sdk/metric v1.32.0 // indirect go.opentelemetry.io/otel/trace v1.32.0 // indirect - go.opentelemetry.io/proto/otlp v1.0.0 // indirect go.uber.org/multierr v1.11.0 // indirect golang.org/x/crypto v0.31.0 // indirect golang.org/x/net v0.33.0 // indirect golang.org/x/sys v0.28.0 // indirect golang.org/x/text v0.21.0 // indirect + golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 // indirect google.golang.org/grpc v1.69.0 // indirect google.golang.org/protobuf v1.36.0 // indirect diff --git a/exporter/rabbitmqexporter/go.sum b/exporter/rabbitmqexporter/go.sum index 78d668145b18..68c4ed2028fb 100644 --- a/exporter/rabbitmqexporter/go.sum +++ b/exporter/rabbitmqexporter/go.sum @@ -50,8 +50,8 @@ github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 h1:YBftPWNWd4WwGqtY2yeZL2ef8rHAxPBD8KFhJpmcqms= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k= github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= @@ -176,8 +176,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= @@ -190,8 +190,8 @@ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw= go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U= go.opentelemetry.io/otel v1.32.0/go.mod h1:00DCVSB0RQcnzlwyTfqtxSm+DRr9hpYrHjNGiBHVQIg= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 h1:Mne5On7VWdx7omSrSSZvM4Kw7cS7NQkOOmLcgscI51U= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0/go.mod h1:IPtUMKL4O3tH5y+iXVyAXqpAwMuzC1IrxVS81rummfE= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 h1:3Q/xZUyC1BBkualc9ROb4G8qkH90LXEIICcs5zv1OYY= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0/go.mod h1:s75jGIWA9OfCMzF0xr+ZgfrB5FEbbV7UuYo32ahUiFI= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0 h1:j9+03ymgYhPKmeXGk5Zu+cIZOlVzd9Zv7QIiyItjFBU= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0/go.mod h1:Y5+XiUG4Emn1hTfciPzGPJaSI+RpDts6BnCIir0SLqk= go.opentelemetry.io/otel/metric v1.32.0 h1:xV2umtmNcThh2/a/aCP+h64Xx5wsj8qqnkYZktzNa0M= @@ -202,8 +202,8 @@ go.opentelemetry.io/otel/sdk/metric v1.32.0 h1:rZvFnvmvawYb0alrYkjraqJq0Z4ZUJAiy go.opentelemetry.io/otel/sdk/metric v1.32.0/go.mod h1:PWeZlq0zt9YkYAp3gjKZ0eicRYvOh1Gd+X99x6GHpCQ= go.opentelemetry.io/otel/trace v1.32.0 h1:WIC9mYrXf8TmY/EXuULKc8hR17vE+Hjv2cssQDe03fM= go.opentelemetry.io/otel/trace v1.32.0/go.mod h1:+i4rkvCraA+tG6AzwloGaCtkx53Fa+L+V8e9a7YvhT8= -go.opentelemetry.io/proto/otlp v1.0.0 h1:T0TX0tmXU8a3CbNXzEKGeU5mIVOdf0oykP+u2lIVU/I= -go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v80hjKIs5JXpM= +go.opentelemetry.io/proto/otlp v1.3.1 h1:TrMUixzpM0yuc/znrFTP9MMRh8trP93mkCiDVeXrui0= +go.opentelemetry.io/proto/otlp v1.3.1/go.mod h1:0X1WI4de4ZsLrrJNLAQbFeLCm3T7yBkR0XqQ7niQU+8= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= diff --git a/exporter/rabbitmqexporter/integration_test.go b/exporter/rabbitmqexporter/integration_test.go index 0c6a0a7e42b4..094e3f5df9ae 100644 --- a/exporter/rabbitmqexporter/integration_test.go +++ b/exporter/rabbitmqexporter/integration_test.go @@ -20,8 +20,7 @@ import ( "go.opentelemetry.io/collector/component/componenttest" "go.opentelemetry.io/collector/exporter/exportertest" "go.opentelemetry.io/collector/pdata/plog" - - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" + "go.opentelemetry.io/collector/pdata/testdata" ) const ( @@ -72,7 +71,7 @@ func TestExportWithNetworkIssueRecovery(t *testing.T) { }() // Export and verify data is consumed - logs := testdata.GenerateLogsOneLogRecord() + logs := testdata.GenerateLogs(1) err = exporter.ConsumeLogs(context.Background(), logs) require.NoError(t, err) consumed := <-consumer @@ -89,7 +88,7 @@ func TestExportWithNetworkIssueRecovery(t *testing.T) { stopTimeout := time.Second * 5 err = container.Stop(context.Background(), &stopTimeout) require.NoError(t, err) - logs = testdata.GenerateLogsOneLogRecord() + logs = testdata.GenerateLogs(1) err = exporter.ConsumeLogs(context.Background(), logs) require.Error(t, err) @@ -102,7 +101,7 @@ func TestExportWithNetworkIssueRecovery(t *testing.T) { connection.Close() }() - logs = testdata.GenerateLogsOneLogRecord() + logs = testdata.GenerateLogs(1) err = exporter.ConsumeLogs(context.Background(), logs) require.NoError(t, err) consumed = <-consumer diff --git a/exporter/rabbitmqexporter/rabbitmq_exporter_test.go b/exporter/rabbitmqexporter/rabbitmq_exporter_test.go index 76a9444ea0e7..251bd6f3834f 100644 --- a/exporter/rabbitmqexporter/rabbitmq_exporter_test.go +++ b/exporter/rabbitmqexporter/rabbitmq_exporter_test.go @@ -15,9 +15,9 @@ import ( "go.opentelemetry.io/collector/component" "go.opentelemetry.io/collector/component/componenttest" "go.opentelemetry.io/collector/exporter/exportertest" + "go.opentelemetry.io/collector/pdata/testdata" "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/rabbitmqexporter/internal/publisher" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" ) const ( @@ -103,7 +103,7 @@ func TestPublishMetrics(t *testing.T) { pub.On("Publish", mock.Anything, mock.MatchedBy(func(message publisher.Message) bool { return message.RoutingKey == routingKey && len(message.Body) > 0 && message.Exchange == "" })).Return(nil) - err := exporter.publishMetrics(context.Background(), testdata.GenerateMetricsOneMetric()) + err := exporter.publishMetrics(context.Background(), testdata.GenerateMetrics(1)) require.NoError(t, err) pub.AssertExpectations(t) @@ -115,7 +115,7 @@ func TestPublishTraces(t *testing.T) { pub.On("Publish", mock.Anything, mock.MatchedBy(func(message publisher.Message) bool { return message.RoutingKey == routingKey && len(message.Body) > 0 && message.Exchange == "" })).Return(nil) - err := exporter.publishTraces(context.Background(), testdata.GenerateTracesOneSpan()) + err := exporter.publishTraces(context.Background(), testdata.GenerateTraces(1)) require.NoError(t, err) pub.AssertExpectations(t) @@ -127,7 +127,7 @@ func TestPublishLogs(t *testing.T) { pub.On("Publish", mock.Anything, mock.MatchedBy(func(message publisher.Message) bool { return message.RoutingKey == routingKey && len(message.Body) > 0 && message.Exchange == "" })).Return(nil) - err := exporter.publishLogs(context.Background(), testdata.GenerateLogsOneLogRecord()) + err := exporter.publishLogs(context.Background(), testdata.GenerateLogs(1)) require.NoError(t, err) pub.AssertExpectations(t) diff --git a/exporter/sapmexporter/go.sum b/exporter/sapmexporter/go.sum index 62f969b09a8f..6e6347ec26a0 100644 --- a/exporter/sapmexporter/go.sum +++ b/exporter/sapmexporter/go.sum @@ -107,8 +107,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/sentryexporter/go.sum b/exporter/sentryexporter/go.sum index 55ed3ceaf759..36f865cae6d5 100644 --- a/exporter/sentryexporter/go.sum +++ b/exporter/sentryexporter/go.sum @@ -98,8 +98,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/signalfxexporter/go.sum b/exporter/signalfxexporter/go.sum index 63c392714322..6b3e3074cf61 100644 --- a/exporter/signalfxexporter/go.sum +++ b/exporter/signalfxexporter/go.sum @@ -155,8 +155,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/splunkhecexporter/go.sum b/exporter/splunkhecexporter/go.sum index ecc313b2f2c6..cce08e3473a4 100644 --- a/exporter/splunkhecexporter/go.sum +++ b/exporter/splunkhecexporter/go.sum @@ -196,8 +196,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/tencentcloudlogserviceexporter/go.sum b/exporter/tencentcloudlogserviceexporter/go.sum index 98668885cb79..91da32449ecc 100644 --- a/exporter/tencentcloudlogserviceexporter/go.sum +++ b/exporter/tencentcloudlogserviceexporter/go.sum @@ -102,8 +102,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/exporter/zipkinexporter/go.sum b/exporter/zipkinexporter/go.sum index 092d45e0b4eb..af06f0c61907 100644 --- a/exporter/zipkinexporter/go.sum +++ b/exporter/zipkinexporter/go.sum @@ -129,8 +129,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/extension/encoding/jaegerencodingextension/go.sum b/extension/encoding/jaegerencodingextension/go.sum index 74655bffc002..aee234fe6e00 100644 --- a/extension/encoding/jaegerencodingextension/go.sum +++ b/extension/encoding/jaegerencodingextension/go.sum @@ -56,6 +56,7 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.opentelemetry.io/collector v0.112.0 h1:yyA9hC2FTIRs4T418cQHxgei82oa9uNugFQIeNjRzv0= go.opentelemetry.io/collector/component v0.116.1-0.20241220212031-7c2639723f67 h1:yQp5VcaPVHSGbwbDUspEThk7w6k6GzyYH2E8mGxdOQk= go.opentelemetry.io/collector/component v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:HRkdqOVYd5eUNJISfwLt1a+EXP3rCdceDjqOJAifQnQ= go.opentelemetry.io/collector/component/componenttest v0.116.1-0.20241220212031-7c2639723f67 h1:jvaFLY4LxAOiiSM2nqd+r4S6CoJwj5F+9zqa+qFjDn4= @@ -72,6 +73,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 h1:Egj7Q1YJe1xUkdL282/8VwmQ66U7tBaWfcDnqISvli8= go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:N6XE8Q0JKgBN2fAhkUQtqK9LT7rEGR6+Wu/Rtbal1iI= go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U= diff --git a/internal/coreinternal/consumerretry/logs_test.go b/internal/coreinternal/consumerretry/logs_test.go index 7193797b76e7..8c3fa099d0f1 100644 --- a/internal/coreinternal/consumerretry/logs_test.go +++ b/internal/coreinternal/consumerretry/logs_test.go @@ -11,9 +11,8 @@ import ( "github.com/stretchr/testify/assert" "go.opentelemetry.io/collector/consumer/consumererror" + "go.opentelemetry.io/collector/pdata/testdata" "go.uber.org/zap" - - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" ) func TestConsumeLogs(t *testing.T) { @@ -62,7 +61,7 @@ func TestConsumeLogs(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { consumer := NewLogs(tt.cfg, zap.NewNop(), tt.consumer) - err := consumer.ConsumeLogs(context.Background(), testdata.GenerateLogsTwoLogRecordsSameResource()) + err := consumer.ConsumeLogs(context.Background(), testdata.GenerateLogs(2)) assert.Equal(t, tt.expectedErr, err) if err == nil { assert.Len(t, tt.consumer.AllLogs(), 1) @@ -87,7 +86,7 @@ func TestConsumeLogs_ContextDeadline(t *testing.T) { ctx, cancel := context.WithTimeout(context.Background(), 5*time.Millisecond) defer cancel() - err := consumer.ConsumeLogs(ctx, testdata.GenerateLogsTwoLogRecordsSameResource()) + err := consumer.ConsumeLogs(ctx, testdata.GenerateLogs(2)) assert.ErrorContains(t, err, "context is cancelled or timed out retry later") } @@ -100,8 +99,8 @@ func TestConsumeLogs_PartialRetry(t *testing.T) { MaxElapsedTime: 50 * time.Millisecond, }, zap.NewNop(), sink) - logs := testdata.GenerateLogsTwoLogRecordsSameResource() - testdata.GenerateLogsOneLogRecordNoResource().ResourceLogs().MoveAndAppendTo(logs.ResourceLogs()) + logs := testdata.GenerateLogs(2) + testdata.GenerateLogs(1).ResourceLogs().MoveAndAppendTo(logs.ResourceLogs()) assert.NoError(t, consumer.ConsumeLogs(context.Background(), logs)) // Verify the logs batch is broken into two parts, one with the partial error and one without. diff --git a/internal/coreinternal/go.mod b/internal/coreinternal/go.mod index 41fb574554c8..fb969ba45b8a 100644 --- a/internal/coreinternal/go.mod +++ b/internal/coreinternal/go.mod @@ -17,7 +17,7 @@ require ( go.opentelemetry.io/collector/consumer/consumererror v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/consumer/consumertest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 - go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/receiver/receivertest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 @@ -77,6 +77,7 @@ require ( github.com/yusufpapurcu/wmi v1.2.4 // indirect go.opentelemetry.io/collector/config/configtelemetry v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/consumer/xconsumer v0.116.1-0.20241220212031-7c2639723f67 // indirect + go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/receiver/xreceiver v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect diff --git a/internal/coreinternal/go.sum b/internal/coreinternal/go.sum index b3d322b37633..76f5a8882591 100644 --- a/internal/coreinternal/go.sum +++ b/internal/coreinternal/go.sum @@ -144,8 +144,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/internal/coreinternal/testdata/log.go b/internal/coreinternal/testdata/log.go deleted file mode 100644 index d50fbf874bcf..000000000000 --- a/internal/coreinternal/testdata/log.go +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package testdata - -import ( - "time" - - "go.opentelemetry.io/collector/pdata/pcommon" - "go.opentelemetry.io/collector/pdata/plog" -) - -var ( - TestLogTime = time.Date(2020, 2, 11, 20, 26, 13, 789, time.UTC) - TestLogTimestamp = pcommon.NewTimestampFromTime(TestLogTime) -) - -func GenerateLogsOneEmptyResourceLogs() plog.Logs { - ld := plog.NewLogs() - ld.ResourceLogs().AppendEmpty() - return ld -} - -func GenerateLogsNoLogRecords() plog.Logs { - ld := GenerateLogsOneEmptyResourceLogs() - initResource1(ld.ResourceLogs().At(0).Resource()) - return ld -} - -func GenerateLogsOneEmptyLogRecord() plog.Logs { - ld := GenerateLogsNoLogRecords() - rs0 := ld.ResourceLogs().At(0) - rs0.ScopeLogs().AppendEmpty().LogRecords().AppendEmpty() - return ld -} - -func GenerateLogsOneLogRecordNoResource() plog.Logs { - ld := GenerateLogsOneEmptyResourceLogs() - rs0 := ld.ResourceLogs().At(0) - fillLogOne(rs0.ScopeLogs().AppendEmpty().LogRecords().AppendEmpty()) - return ld -} - -func GenerateLogsOneLogRecord() plog.Logs { - ld := GenerateLogsOneEmptyLogRecord() - fillLogOne(ld.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords().At(0)) - return ld -} - -func GenerateLogsTwoLogRecordsSameResource() plog.Logs { - ld := GenerateLogsOneEmptyLogRecord() - logs := ld.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords() - fillLogOne(logs.At(0)) - fillLogTwo(logs.AppendEmpty()) - return ld -} - -func fillLogOne(log plog.LogRecord) { - log.SetTimestamp(TestLogTimestamp) - log.SetDroppedAttributesCount(1) - log.SetSeverityNumber(plog.SeverityNumberInfo) - log.SetSeverityText("Info") - log.SetSpanID([8]byte{0x01, 0x02, 0x04, 0x08}) - log.SetTraceID([16]byte{0x08, 0x04, 0x02, 0x01}) - - attrs := log.Attributes() - attrs.PutStr("app", "server") - attrs.PutInt("instance_num", 1) - - log.Body().SetStr("This is a log message") -} - -func fillLogTwo(log plog.LogRecord) { - log.SetTimestamp(TestLogTimestamp) - log.SetDroppedAttributesCount(1) - log.SetSeverityNumber(plog.SeverityNumberInfo) - log.SetSeverityText("Info") - - attrs := log.Attributes() - attrs.PutStr("customer", "acme") - attrs.PutStr("env", "dev") - - log.Body().SetStr("something happened") -} - -func fillLogThree(log plog.LogRecord) { - log.SetTimestamp(TestLogTimestamp) - log.SetDroppedAttributesCount(1) - log.SetSeverityNumber(plog.SeverityNumberWarn) - log.SetSeverityText("Warning") - - log.Body().SetStr("something else happened") -} - -func GenerateLogsManyLogRecordsSameResource(count int) plog.Logs { - ld := GenerateLogsOneEmptyLogRecord() - logs := ld.ResourceLogs().At(0).ScopeLogs().At(0).LogRecords() - logs.EnsureCapacity(count) - for i := 0; i < count; i++ { - var l plog.LogRecord - if i < logs.Len() { - l = logs.At(i) - } else { - l = logs.AppendEmpty() - } - - if i%2 == 0 { - fillLogOne(l) - } else { - fillLogTwo(l) - } - } - return ld -} diff --git a/internal/coreinternal/testdata/metric.go b/internal/coreinternal/testdata/metric.go index 031720e3e577..70ae4a37223d 100644 --- a/internal/coreinternal/testdata/metric.go +++ b/internal/coreinternal/testdata/metric.go @@ -22,13 +22,12 @@ var ( ) const ( - TestGaugeDoubleMetricName = "gauge-double" - TestGaugeIntMetricName = "gauge-int" - TestSumDoubleMetricName = "counter-double" - TestSumIntMetricName = "counter-int" - TestDoubleHistogramMetricName = "double-histogram" - TestDoubleSummaryMetricName = "double-summary" - TestExponentialHistogramMetricName = "exponential-histogram" + TestGaugeDoubleMetricName = "gauge-double" + TestGaugeIntMetricName = "gauge-int" + TestSumDoubleMetricName = "counter-double" + TestSumIntMetricName = "counter-int" + TestDoubleHistogramMetricName = "double-histogram" + TestDoubleSummaryMetricName = "double-summary" ) func GenerateMetricsOneEmptyResourceMetrics() pmetric.Metrics { @@ -65,14 +64,6 @@ func GenerateMetricsOneMetric() pmetric.Metrics { return md } -func GenerateMetricsTwoMetrics() pmetric.Metrics { - md := GenerateMetricsOneEmptyInstrumentationLibrary() - rm0ils0 := md.ResourceMetrics().At(0).ScopeMetrics().At(0) - initSumIntMetric(rm0ils0.Metrics().AppendEmpty()) - initSumIntMetric(rm0ils0.Metrics().AppendEmpty()) - return md -} - func GenerateMetricsOneCounterOneSummaryMetrics() pmetric.Metrics { md := GenerateMetricsOneEmptyInstrumentationLibrary() rm0ils0 := md.ResourceMetrics().At(0).ScopeMetrics().At(0) @@ -102,35 +93,6 @@ func GenerateMetricsAllTypesNoDataPoints() pmetric.Metrics { return md } -func GenerateMetricsAllTypesEmptyDataPoint() pmetric.Metrics { - md := GenerateMetricsOneEmptyInstrumentationLibrary() - ilm0 := md.ResourceMetrics().At(0).ScopeMetrics().At(0) - ms := ilm0.Metrics() - - doubleGauge := ms.AppendEmpty() - initMetric(doubleGauge, TestGaugeDoubleMetricName, pmetric.MetricTypeGauge) - doubleGauge.Gauge().DataPoints().AppendEmpty() - intGauge := ms.AppendEmpty() - initMetric(intGauge, TestGaugeIntMetricName, pmetric.MetricTypeGauge) - intGauge.Gauge().DataPoints().AppendEmpty() - doubleSum := ms.AppendEmpty() - initMetric(doubleSum, TestSumDoubleMetricName, pmetric.MetricTypeSum) - doubleSum.Sum().DataPoints().AppendEmpty() - intSum := ms.AppendEmpty() - initMetric(intSum, TestSumIntMetricName, pmetric.MetricTypeSum) - intSum.Sum().DataPoints().AppendEmpty() - histogram := ms.AppendEmpty() - initMetric(histogram, TestDoubleHistogramMetricName, pmetric.MetricTypeHistogram) - histogram.Histogram().DataPoints().AppendEmpty() - summary := ms.AppendEmpty() - initMetric(summary, TestDoubleSummaryMetricName, pmetric.MetricTypeSummary) - summary.Summary().DataPoints().AppendEmpty() - exphist := ms.AppendEmpty() - initMetric(exphist, TestExponentialHistogramMetricName, pmetric.MetricTypeExponentialHistogram) - exphist.ExponentialHistogram().DataPoints().AppendEmpty() - return md -} - func GenerateMetricsMetricTypeInvalid() pmetric.Metrics { md := GenerateMetricsOneEmptyInstrumentationLibrary() ilm0 := md.ResourceMetrics().At(0).ScopeMetrics().At(0) @@ -289,13 +251,3 @@ func initMetric(m pmetric.Metric, name string, ty pmetric.MetricType) { m.SetEmptySummary() } } - -func GenerateMetricsManyMetricsSameResource(metricsCount int) pmetric.Metrics { - md := GenerateMetricsOneEmptyInstrumentationLibrary() - rs0ilm0 := md.ResourceMetrics().At(0).ScopeMetrics().At(0) - rs0ilm0.Metrics().EnsureCapacity(metricsCount) - for i := 0; i < metricsCount; i++ { - initSumIntMetric(rs0ilm0.Metrics().AppendEmpty()) - } - return md -} diff --git a/internal/coreinternal/testdata/profile.go b/internal/coreinternal/testdata/profile.go deleted file mode 100644 index 4775543984f7..000000000000 --- a/internal/coreinternal/testdata/profile.go +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package testdata - -import ( - "time" - - "go.opentelemetry.io/collector/pdata/pcommon" - "go.opentelemetry.io/collector/pdata/pprofile" -) - -var ( - TestProfileStartTime = time.Date(2020, 2, 11, 20, 26, 13, 789, time.UTC) - TestProfileStartTimestamp = pcommon.NewTimestampFromTime(TestProfileStartTime) -) - -func GenerateProfilesOneEmptyResourceProfiles() pprofile.Profiles { - pd := pprofile.NewProfiles() - pd.ResourceProfiles().AppendEmpty() - return pd -} - -func GenerateProfilesNoProfiles() pprofile.Profiles { - pd := GenerateProfilesOneEmptyResourceProfiles() - initResource1(pd.ResourceProfiles().At(0).Resource()) - return pd -} - -func GenerateProfilesOneEmptyProfile() pprofile.Profiles { - pd := GenerateProfilesNoProfiles() - rs0 := pd.ResourceProfiles().At(0) - rs0.ScopeProfiles().AppendEmpty().Profiles().AppendEmpty() - return pd -} - -func GenerateProfilesOneProfile() pprofile.Profiles { - pd := GenerateProfilesOneEmptyProfile() - fillProfileOne(pd.ResourceProfiles().At(0).ScopeProfiles().At(0).Profiles().At(0)) - return pd -} - -func GenerateProfilesTwoProfilesSameResource() pprofile.Profiles { - pd := GenerateProfilesOneEmptyProfile() - profiles := pd.ResourceProfiles().At(0).ScopeProfiles().At(0).Profiles() - fillProfileOne(profiles.At(0)) - fillProfileTwo(profiles.AppendEmpty()) - return pd -} - -func fillProfileOne(profile pprofile.Profile) { - profile.SetStartTime(TestProfileStartTimestamp) - profile.SetProfileID([16]byte{0x01, 0x02, 0x03, 0x04}) - - profile.AttributeIndices().Append(0) - a := profile.AttributeTable().AppendEmpty() - a.SetKey("app") - a.Value().SetStr("server") - profile.AttributeIndices().Append(0) - a = profile.AttributeTable().AppendEmpty() - a.SetKey("instance_num") - a.Value().SetInt(1) -} - -func fillProfileTwo(profile pprofile.Profile) { - profile.SetStartTime(TestProfileStartTimestamp) - profile.SetProfileID([16]byte{0x05, 0x06, 0x07, 0x08}) - - profile.AttributeIndices().Append(0) - a := profile.AttributeTable().AppendEmpty() - a.SetKey("customer") - a.Value().SetStr("acme") - profile.AttributeIndices().Append(0) - a = profile.AttributeTable().AppendEmpty() - a.SetKey("env") - a.Value().SetStr("dev") -} diff --git a/internal/coreinternal/testdata/trace.go b/internal/coreinternal/testdata/trace.go index f4c4626d7f2d..2f490ab2926b 100644 --- a/internal/coreinternal/testdata/trace.go +++ b/internal/coreinternal/testdata/trace.go @@ -76,16 +76,6 @@ func GenerateTracesTwoSpansSameResourceOneDifferent() ptrace.Traces { return td } -func GenerateTracesManySpansSameResource(spanCount int) ptrace.Traces { - td := GenerateTracesOneEmptyInstrumentationLibrary() - rs0ils0 := td.ResourceSpans().At(0).ScopeSpans().At(0) - rs0ils0.Spans().EnsureCapacity(spanCount) - for i := 0; i < spanCount; i++ { - fillSpanOne(rs0ils0.Spans().AppendEmpty()) - } - return td -} - func fillSpanOne(span ptrace.Span) { span.SetName("operationA") span.SetStartTimestamp(TestSpanStartTimestamp) diff --git a/internal/filter/filterspan/filterspan_test.go b/internal/filter/filterspan/filterspan_test.go index b06171543c1a..760ad0d5a32f 100644 --- a/internal/filter/filterspan/filterspan_test.go +++ b/internal/filter/filterspan/filterspan_test.go @@ -12,9 +12,9 @@ import ( "go.opentelemetry.io/collector/featuregate" "go.opentelemetry.io/collector/pdata/pcommon" "go.opentelemetry.io/collector/pdata/ptrace" + "go.opentelemetry.io/collector/pdata/testdata" conventions "go.opentelemetry.io/collector/semconv/v1.27.0" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter/filterconfig" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter/filterottl" @@ -296,11 +296,11 @@ func TestSpan_Matching_True(t *testing.T) { } func TestServiceNameForResource(t *testing.T) { - td := testdata.GenerateTracesOneSpanNoResource() + td := testdata.GenerateTraces(0) name := serviceNameForResource(td.ResourceSpans().At(0).Resource()) require.Equal(t, "", name) - td = testdata.GenerateTracesOneSpan() + td = testdata.GenerateTraces(1) resource := td.ResourceSpans().At(0).Resource() name = serviceNameForResource(resource) require.Equal(t, "", name) diff --git a/internal/filter/go.mod b/internal/filter/go.mod index 4439f8984ad2..b164d7a974c1 100644 --- a/internal/filter/go.mod +++ b/internal/filter/go.mod @@ -14,6 +14,7 @@ require ( go.opentelemetry.io/collector/confmap v1.22.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/featuregate v1.22.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 go.uber.org/goleak v1.3.0 go.uber.org/zap v1.27.0 diff --git a/internal/filter/go.sum b/internal/filter/go.sum index 7d214439419c..47bc5ece07e1 100644 --- a/internal/filter/go.sum +++ b/internal/filter/go.sum @@ -103,6 +103,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 h1:Egj7Q1YJe1xUkdL282/8VwmQ66U7tBaWfcDnqISvli8= go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:N6XE8Q0JKgBN2fAhkUQtqK9LT7rEGR6+Wu/Rtbal1iI= go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U= diff --git a/pkg/resourcetotelemetry/go.mod b/pkg/resourcetotelemetry/go.mod index 9c50b2d4a2e5..36e948123252 100644 --- a/pkg/resourcetotelemetry/go.mod +++ b/pkg/resourcetotelemetry/go.mod @@ -3,11 +3,11 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/pkg/resourcetot go 1.22.0 require ( - github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.116.0 github.com/stretchr/testify v1.10.0 go.opentelemetry.io/collector/consumer v1.22.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/exporter v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.uber.org/goleak v1.3.0 ) @@ -20,6 +20,8 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect go.opentelemetry.io/collector/component v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/config/configtelemetry v0.116.1-0.20241220212031-7c2639723f67 // indirect + go.opentelemetry.io/collector/consumer/consumertest v0.116.1-0.20241220212031-7c2639723f67 // indirect + go.opentelemetry.io/collector/consumer/xconsumer v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/otel v1.32.0 // indirect diff --git a/pkg/resourcetotelemetry/go.sum b/pkg/resourcetotelemetry/go.sum index 48896cbab5f9..a8e6911c6b15 100644 --- a/pkg/resourcetotelemetry/go.sum +++ b/pkg/resourcetotelemetry/go.sum @@ -53,6 +53,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U= diff --git a/pkg/resourcetotelemetry/resource_to_telemetry_test.go b/pkg/resourcetotelemetry/resource_to_telemetry_test.go index 6587d71ad86a..fe275a6d2bf6 100644 --- a/pkg/resourcetotelemetry/resource_to_telemetry_test.go +++ b/pkg/resourcetotelemetry/resource_to_telemetry_test.go @@ -8,12 +8,11 @@ import ( "github.com/stretchr/testify/assert" "go.opentelemetry.io/collector/pdata/pcommon" - - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" + "go.opentelemetry.io/collector/pdata/testdata" ) func TestConvertResourceToAttributes(t *testing.T) { - md := testdata.GenerateMetricsOneMetric() + md := testdata.GenerateMetrics(1) assert.NotNil(t, md) // Before converting resource to labels @@ -28,7 +27,7 @@ func TestConvertResourceToAttributes(t *testing.T) { } func TestConvertResourceToAttributesAllDataTypesEmptyDataPoint(t *testing.T) { - md := testdata.GenerateMetricsAllTypesEmptyDataPoint() + md := testdata.GenerateMetricsAllTypesEmpty() assert.NotNil(t, md) // Before converting resource to labels diff --git a/pkg/stanza/go.sum b/pkg/stanza/go.sum index 736220de2940..cd7fed8c4777 100644 --- a/pkg/stanza/go.sum +++ b/pkg/stanza/go.sum @@ -111,8 +111,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/pkg/translator/jaeger/go.mod b/pkg/translator/jaeger/go.mod index 18e798d277cd..5dc89268ebeb 100644 --- a/pkg/translator/jaeger/go.mod +++ b/pkg/translator/jaeger/go.mod @@ -7,6 +7,7 @@ require ( github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.116.0 github.com/stretchr/testify v1.10.0 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 go.uber.org/goleak v1.3.0 ) diff --git a/pkg/translator/jaeger/go.sum b/pkg/translator/jaeger/go.sum index 7f8fa0532a04..7e32f3f5734a 100644 --- a/pkg/translator/jaeger/go.sum +++ b/pkg/translator/jaeger/go.sum @@ -47,6 +47,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 h1:Egj7Q1YJe1xUkdL282/8VwmQ66U7tBaWfcDnqISvli8= go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:N6XE8Q0JKgBN2fAhkUQtqK9LT7rEGR6+Wu/Rtbal1iI= go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U= diff --git a/pkg/translator/jaeger/jaegerthrift_to_traces_test.go b/pkg/translator/jaeger/jaegerthrift_to_traces_test.go index 8413c61cc763..0df6582bd7d3 100644 --- a/pkg/translator/jaeger/jaegerthrift_to_traces_test.go +++ b/pkg/translator/jaeger/jaegerthrift_to_traces_test.go @@ -12,9 +12,9 @@ import ( "github.com/stretchr/testify/require" "go.opentelemetry.io/collector/pdata/pcommon" "go.opentelemetry.io/collector/pdata/ptrace" + "go.opentelemetry.io/collector/pdata/testdata" conventions "go.opentelemetry.io/collector/semconv/v1.9.0" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/tracetranslator" ) @@ -81,7 +81,7 @@ func TestThriftBatchToInternalTraces(t *testing.T) { jb: &jaeger.Batch{ Process: generateThriftProcess(), }, - td: testdata.GenerateTracesNoLibraries(), + td: testdata.GenerateTraces(0), }, { diff --git a/pkg/translator/opencensus/go.mod b/pkg/translator/opencensus/go.mod index 30c920264c3b..2434c03a391e 100644 --- a/pkg/translator/opencensus/go.mod +++ b/pkg/translator/opencensus/go.mod @@ -27,7 +27,6 @@ require ( github.com/modern-go/reflect2 v1.0.2 // indirect github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil v0.116.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 // indirect go.uber.org/multierr v1.11.0 // indirect golang.org/x/net v0.33.0 // indirect golang.org/x/sys v0.28.0 // indirect diff --git a/pkg/translator/opencensus/go.sum b/pkg/translator/opencensus/go.sum index 3ca0c9195d4c..e27370d75180 100644 --- a/pkg/translator/opencensus/go.sum +++ b/pkg/translator/opencensus/go.sum @@ -83,8 +83,6 @@ go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2VnulbhUdJhcHAqsQsbdxyPyskTGghL18m2EYo1Ws= go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= -go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= -go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 h1:Egj7Q1YJe1xUkdL282/8VwmQ66U7tBaWfcDnqISvli8= go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:N6XE8Q0JKgBN2fAhkUQtqK9LT7rEGR6+Wu/Rtbal1iI= go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U= diff --git a/pkg/translator/prometheusremotewrite/go.mod b/pkg/translator/prometheusremotewrite/go.mod index cd396f09c66a..dfd57a268183 100644 --- a/pkg/translator/prometheusremotewrite/go.mod +++ b/pkg/translator/prometheusremotewrite/go.mod @@ -13,6 +13,7 @@ require ( github.com/stretchr/testify v1.10.0 go.opentelemetry.io/collector/featuregate v1.22.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 go.uber.org/goleak v1.3.0 go.uber.org/multierr v1.11.0 diff --git a/pkg/translator/prometheusremotewrite/go.sum b/pkg/translator/prometheusremotewrite/go.sum index c0c772004259..89781678eb2d 100644 --- a/pkg/translator/prometheusremotewrite/go.sum +++ b/pkg/translator/prometheusremotewrite/go.sum @@ -57,6 +57,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 h1:Egj7Q1YJe1xUkdL282/8VwmQ66U7tBaWfcDnqISvli8= go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:N6XE8Q0JKgBN2fAhkUQtqK9LT7rEGR6+Wu/Rtbal1iI= go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U= diff --git a/pkg/translator/prometheusremotewrite/helper_test.go b/pkg/translator/prometheusremotewrite/helper_test.go index 631ff7c831b1..7b9fc1f55f1d 100644 --- a/pkg/translator/prometheusremotewrite/helper_test.go +++ b/pkg/translator/prometheusremotewrite/helper_test.go @@ -17,13 +17,18 @@ import ( "github.com/stretchr/testify/require" "go.opentelemetry.io/collector/pdata/pcommon" "go.opentelemetry.io/collector/pdata/pmetric" + "go.opentelemetry.io/collector/pdata/testdata" conventions "go.opentelemetry.io/collector/semconv/v1.25.0" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/common/testutil" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" prometheustranslator "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheus" ) +var ( + testMetricStartTimestamp = pcommon.NewTimestampFromTime(time.Date(2020, 2, 11, 20, 26, 12, 321, time.UTC)) + testMetricTimestamp = pcommon.NewTimestampFromTime(time.Date(2020, 2, 11, 20, 26, 13, 789, time.UTC)) +) + func Test_isValidAggregationTemporality(t *testing.T) { l := pcommon.NewMap() @@ -574,13 +579,13 @@ func TestAddResourceTargetInfo(t *testing.T) { }, { desc: "with resource missing both service.name and service.instance.id resource attributes", - resource: testdata.GenerateMetricsNoLibraries().ResourceMetrics().At(0).Resource(), - timestamp: testdata.TestMetricStartTimestamp, + resource: testdata.GenerateMetrics(0).ResourceMetrics().At(0).Resource(), + timestamp: testMetricStartTimestamp, }, { desc: "with resource including service.instance.id, and missing service.name resource attribute", resource: resourceWithOnlyServiceID, - timestamp: testdata.TestMetricStartTimestamp, + timestamp: testMetricStartTimestamp, wantLabels: []prompb.Label{ {Name: model.MetricNameLabel, Value: "target_info"}, {Name: model.InstanceLabel, Value: "service-instance-id"}, @@ -590,7 +595,7 @@ func TestAddResourceTargetInfo(t *testing.T) { { desc: "with resource including service.name, and missing service.instance.id resource attribute", resource: resourceWithOnlyServiceName, - timestamp: testdata.TestMetricStartTimestamp, + timestamp: testMetricStartTimestamp, wantLabels: []prompb.Label{ {Name: model.MetricNameLabel, Value: "target_info"}, {Name: model.JobLabel, Value: "service-name"}, @@ -600,7 +605,7 @@ func TestAddResourceTargetInfo(t *testing.T) { { desc: "with valid resource, with namespace", resource: resourceWithOnlyServiceName, - timestamp: testdata.TestMetricStartTimestamp, + timestamp: testMetricStartTimestamp, settings: Settings{Namespace: "foo"}, wantLabels: []prompb.Label{ {Name: model.MetricNameLabel, Value: "foo_target_info"}, @@ -611,7 +616,7 @@ func TestAddResourceTargetInfo(t *testing.T) { { desc: "with resource, with service attributes", resource: resourceWithServiceAttrs, - timestamp: testdata.TestMetricStartTimestamp, + timestamp: testMetricStartTimestamp, wantLabels: []prompb.Label{ {Name: model.MetricNameLabel, Value: "target_info"}, {Name: model.InstanceLabel, Value: "service-instance-id"}, @@ -622,7 +627,7 @@ func TestAddResourceTargetInfo(t *testing.T) { { desc: "with resource, with only service attributes", resource: resourceWithOnlyServiceAttrs, - timestamp: testdata.TestMetricStartTimestamp, + timestamp: testMetricStartTimestamp, }, { // If there's no timestamp, target_info shouldn't be generated, since we don't know when the write is from. @@ -659,9 +664,9 @@ func TestAddResourceTargetInfo(t *testing.T) { } func TestMostRecentTimestampInMetric(t *testing.T) { - laterTimestamp := pcommon.NewTimestampFromTime(testdata.TestMetricTime.Add(1 * time.Minute)) - metricMultipleTimestamps := testdata.GenerateMetricsOneMetric().ResourceMetrics().At(0).ScopeMetrics().At(0).Metrics().At(0) - // the first datapoint timestamp is at testdata.TestMetricTime + laterTimestamp := testMetricTimestamp + 60*1000_000_000 + metricMultipleTimestamps := testdata.GenerateMetrics(1).ResourceMetrics().At(0).ScopeMetrics().At(0).Metrics().At(0) + // the first datapoint timestamp is at testMetricTime metricMultipleTimestamps.Sum().DataPoints().At(1).SetTimestamp(laterTimestamp) for _, tc := range []struct { desc string diff --git a/pkg/translator/zipkin/go.mod b/pkg/translator/zipkin/go.mod index 18de7189fbe1..bc77c1520b7f 100644 --- a/pkg/translator/zipkin/go.mod +++ b/pkg/translator/zipkin/go.mod @@ -20,7 +20,6 @@ require ( github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/otel v1.32.0 // indirect go.opentelemetry.io/otel/trace v1.32.0 // indirect go.uber.org/multierr v1.11.0 // indirect diff --git a/pkg/translator/zipkin/go.sum b/pkg/translator/zipkin/go.sum index 4416b6350b48..92b221265b28 100644 --- a/pkg/translator/zipkin/go.sum +++ b/pkg/translator/zipkin/go.sum @@ -47,8 +47,6 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2VnulbhUdJhcHAqsQsbdxyPyskTGghL18m2EYo1Ws= go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= -go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= -go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 h1:Egj7Q1YJe1xUkdL282/8VwmQ66U7tBaWfcDnqISvli8= go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:N6XE8Q0JKgBN2fAhkUQtqK9LT7rEGR6+Wu/Rtbal1iI= go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U= diff --git a/processor/attributesprocessor/attributes_log_test.go b/processor/attributesprocessor/attributes_log_test.go index cf49903330e9..895cd44b5561 100644 --- a/processor/attributesprocessor/attributes_log_test.go +++ b/processor/attributesprocessor/attributes_log_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/require" "go.opentelemetry.io/collector/consumer/consumertest" "go.opentelemetry.io/collector/pdata/plog" + "go.opentelemetry.io/collector/pdata/testdata" "go.opentelemetry.io/collector/processor" "go.opentelemetry.io/collector/processor/processortest" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/attraction" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter/filterconfig" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter/filterset" "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest/plogtest" @@ -55,6 +55,11 @@ func TestLogProcessor_NilEmptyData(t *testing.T) { input plog.Logs output plog.Logs } + noScope := func() plog.Logs { + ns := plog.NewLogs() + ns.ResourceLogs().AppendEmpty() + return ns + } testCases := []nilEmptyTestCase{ { name: "empty", @@ -62,14 +67,14 @@ func TestLogProcessor_NilEmptyData(t *testing.T) { output: plog.NewLogs(), }, { - name: "one-empty-resource-logs", - input: testdata.GenerateLogsOneEmptyResourceLogs(), - output: testdata.GenerateLogsOneEmptyResourceLogs(), + name: "no-scope", + input: noScope(), + output: noScope(), }, { - name: "no-libraries", - input: testdata.GenerateLogsOneEmptyResourceLogs(), - output: testdata.GenerateLogsOneEmptyResourceLogs(), + name: "no-logs", + input: testdata.GenerateLogs(0), + output: testdata.GenerateLogs(0), }, } factory := NewFactory() diff --git a/processor/attributesprocessor/attributes_metric_test.go b/processor/attributesprocessor/attributes_metric_test.go index c8b0f49414f4..997897f277d4 100644 --- a/processor/attributesprocessor/attributes_metric_test.go +++ b/processor/attributesprocessor/attributes_metric_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/require" "go.opentelemetry.io/collector/consumer/consumertest" "go.opentelemetry.io/collector/pdata/pmetric" + "go.opentelemetry.io/collector/pdata/testdata" "go.opentelemetry.io/collector/processor" "go.opentelemetry.io/collector/processor/processortest" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/attraction" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter/filterconfig" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter/filterset" "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest/pmetrictest" @@ -31,13 +31,13 @@ type metricTestCase struct { // runIndividualMetricTestCase is the common logic of passing metric data through a configured attributes processor. func runIndividualMetricTestCase(t *testing.T, mt metricTestCase, mp processor.Metrics) { t.Run(mt.name, func(t *testing.T) { - md := generateMetricData(mt.name, mt.inputAttributes) + md := generateMetricData(t, mt.name, mt.inputAttributes) assert.NoError(t, mp.ConsumeMetrics(context.Background(), md)) - require.NoError(t, pmetrictest.CompareMetrics(generateMetricData(mt.name, mt.expectedAttributes), md)) + require.NoError(t, pmetrictest.CompareMetrics(generateMetricData(t, mt.name, mt.expectedAttributes), md)) }) } -func generateMetricData(resourceName string, attrs map[string]any) pmetric.Metrics { +func generateMetricData(t testing.TB, resourceName string, attrs map[string]any) pmetric.Metrics { md := pmetric.NewMetrics() res := md.ResourceMetrics().AppendEmpty() res.Resource().Attributes().PutStr("name", resourceName) @@ -45,7 +45,7 @@ func generateMetricData(resourceName string, attrs map[string]any) pmetric.Metri m := sl.Metrics().AppendEmpty() m.SetName("metric1") dp := m.SetEmptyGauge().DataPoints().AppendEmpty() - dp.Attributes().FromRaw(attrs) //nolint:errcheck + assert.NoError(t, dp.Attributes().FromRaw(attrs)) dp.SetIntValue(1) return md } @@ -57,6 +57,11 @@ func TestMetricProcessor_NilEmptyData(t *testing.T) { input pmetric.Metrics output pmetric.Metrics } + noScope := func() pmetric.Metrics { + ns := pmetric.NewMetrics() + ns.ResourceMetrics().AppendEmpty() + return ns + } // TODO: Add test for "nil" Metric/Attributes. This needs support from data slices to allow to construct that. metricTestCases := []nilEmptyMetricTestCase{ { @@ -65,19 +70,14 @@ func TestMetricProcessor_NilEmptyData(t *testing.T) { output: pmetric.NewMetrics(), }, { - name: "one-empty-resource-metrics", - input: testdata.GenerateMetricsOneEmptyResourceMetrics(), - output: testdata.GenerateMetricsOneEmptyResourceMetrics(), - }, - { - name: "no-libraries", - input: testdata.GenerateMetricsNoLibraries(), - output: testdata.GenerateMetricsNoLibraries(), + name: "no-scope", + input: noScope(), + output: noScope(), }, { - name: "one-empty-instrumentation-library", - input: testdata.GenerateMetricsOneEmptyInstrumentationLibrary(), - output: testdata.GenerateMetricsOneEmptyInstrumentationLibrary(), + name: "no-metrics", + input: testdata.GenerateMetrics(0), + output: testdata.GenerateMetrics(0), }, } factory := NewFactory() @@ -447,7 +447,7 @@ func BenchmarkAttributes_FilterMetricsByName(b *testing.B) { require.NotNil(b, mp) for _, tc := range testCases { - md := generateMetricData(tc.name, tc.inputAttributes) + md := generateMetricData(b, tc.name, tc.inputAttributes) b.Run(tc.name, func(b *testing.B) { for i := 0; i < b.N; i++ { @@ -455,6 +455,6 @@ func BenchmarkAttributes_FilterMetricsByName(b *testing.B) { } }) - require.NoError(b, pmetrictest.CompareMetrics(generateMetricData(tc.name, tc.expectedAttributes), md)) + require.NoError(b, pmetrictest.CompareMetrics(generateMetricData(b, tc.name, tc.expectedAttributes), md)) } } diff --git a/processor/attributesprocessor/attributes_trace_test.go b/processor/attributesprocessor/attributes_trace_test.go index 16020604130b..8788b6a73a31 100644 --- a/processor/attributesprocessor/attributes_trace_test.go +++ b/processor/attributesprocessor/attributes_trace_test.go @@ -11,12 +11,12 @@ import ( "github.com/stretchr/testify/require" "go.opentelemetry.io/collector/consumer/consumertest" "go.opentelemetry.io/collector/pdata/ptrace" + "go.opentelemetry.io/collector/pdata/testdata" "go.opentelemetry.io/collector/processor" "go.opentelemetry.io/collector/processor/processortest" conventions "go.opentelemetry.io/collector/semconv/v1.6.1" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/attraction" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter/filterconfig" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter/filterset" "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest/ptracetest" @@ -59,6 +59,11 @@ func TestSpanProcessor_NilEmptyData(t *testing.T) { input ptrace.Traces output ptrace.Traces } + noScope := func() ptrace.Traces { + ns := ptrace.NewTraces() + ns.ResourceSpans().AppendEmpty() + return ns + } // TODO: Add test for "nil" Span/Attributes. This needs support from data slices to allow to construct that. testCases := []nilEmptyTestCase{ { @@ -67,19 +72,14 @@ func TestSpanProcessor_NilEmptyData(t *testing.T) { output: ptrace.NewTraces(), }, { - name: "one-empty-resource-spans", - input: testdata.GenerateTracesOneEmptyResourceSpans(), - output: testdata.GenerateTracesOneEmptyResourceSpans(), - }, - { - name: "no-libraries", - input: testdata.GenerateTracesNoLibraries(), - output: testdata.GenerateTracesNoLibraries(), + name: "no-scope", + input: noScope(), + output: noScope(), }, { - name: "one-empty-instrumentation-library", - input: testdata.GenerateTracesOneEmptyInstrumentationLibrary(), - output: testdata.GenerateTracesOneEmptyInstrumentationLibrary(), + name: "no-spans", + input: testdata.GenerateTraces(0), + output: testdata.GenerateTraces(0), }, } factory := NewFactory() diff --git a/processor/attributesprocessor/go.mod b/processor/attributesprocessor/go.mod index 2c7f178138bc..e87b70f5707c 100644 --- a/processor/attributesprocessor/go.mod +++ b/processor/attributesprocessor/go.mod @@ -14,6 +14,7 @@ require ( go.opentelemetry.io/collector/consumer v1.22.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/consumer/consumertest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/processor v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/processor/processortest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/semconv v0.116.1-0.20241220212031-7c2639723f67 @@ -61,7 +62,6 @@ require ( go.opentelemetry.io/collector/consumer/xconsumer v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/featuregate v1.22.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 // indirect - go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/processor/xprocessor v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/otel v1.32.0 // indirect diff --git a/processor/logstransformprocessor/go.mod b/processor/logstransformprocessor/go.mod index 32b1328a1b88..fd6cc60688eb 100644 --- a/processor/logstransformprocessor/go.mod +++ b/processor/logstransformprocessor/go.mod @@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/processor/logst go 1.22.0 require ( - github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.116.0 + github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.116.0 // indirect github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza v0.116.0 github.com/stretchr/testify v1.10.0 diff --git a/processor/logstransformprocessor/processor_test.go b/processor/logstransformprocessor/processor_test.go index c51bb042911d..ace922e9e318 100644 --- a/processor/logstransformprocessor/processor_test.go +++ b/processor/logstransformprocessor/processor_test.go @@ -16,7 +16,6 @@ import ( "go.opentelemetry.io/collector/pdata/plog" "go.opentelemetry.io/collector/processor/processortest" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest/plogtest" "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/adapter" "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/entry" @@ -161,8 +160,8 @@ func TestLogsTransformProcessor(t *testing.T) { } func generateLogData(messages []testLogMessage) plog.Logs { - ld := testdata.GenerateLogsOneEmptyResourceLogs() - scope := ld.ResourceLogs().At(0).ScopeLogs().AppendEmpty() + ld := plog.NewLogs() + scope := ld.ResourceLogs().AppendEmpty().ScopeLogs().AppendEmpty() for _, content := range messages { log := scope.LogRecords().AppendEmpty() content.body.CopyTo(log.Body()) diff --git a/processor/resourceprocessor/go.mod b/processor/resourceprocessor/go.mod index 02e1d4cdfeb2..fffa21802352 100644 --- a/processor/resourceprocessor/go.mod +++ b/processor/resourceprocessor/go.mod @@ -12,6 +12,7 @@ require ( go.opentelemetry.io/collector/consumer v1.22.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/consumer/consumertest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/processor v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/processor/processortest v0.116.1-0.20241220212031-7c2639723f67 go.uber.org/goleak v1.3.0 @@ -42,7 +43,6 @@ require ( go.opentelemetry.io/collector/config/configtelemetry v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/consumer/xconsumer v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 // indirect - go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/processor/xprocessor v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/otel v1.32.0 // indirect diff --git a/processor/resourceprocessor/resource_processor_test.go b/processor/resourceprocessor/resource_processor_test.go index eb81bbf4bf8e..8f0d09fef93a 100644 --- a/processor/resourceprocessor/resource_processor_test.go +++ b/processor/resourceprocessor/resource_processor_test.go @@ -13,10 +13,10 @@ import ( "go.opentelemetry.io/collector/pdata/plog" "go.opentelemetry.io/collector/pdata/pmetric" "go.opentelemetry.io/collector/pdata/ptrace" + "go.opentelemetry.io/collector/pdata/testdata" "go.opentelemetry.io/collector/processor/processortest" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/attraction" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest/plogtest" "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest/pmetrictest" "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest/ptracetest" @@ -134,11 +134,12 @@ func TestResourceProcessorAttributesUpsert(t *testing.T) { } func generateTraceData(attributes map[string]string) ptrace.Traces { - td := testdata.GenerateTracesOneSpanNoResource() + td := testdata.GenerateTraces(1) if attributes == nil { return td } resource := td.ResourceSpans().At(0).Resource() + resource.Attributes().Clear() for k, v := range attributes { resource.Attributes().PutStr(k, v) } @@ -146,11 +147,12 @@ func generateTraceData(attributes map[string]string) ptrace.Traces { } func generateMetricData(attributes map[string]string) pmetric.Metrics { - md := testdata.GenerateMetricsOneMetricNoResource() + md := testdata.GenerateMetrics(1) if attributes == nil { return md } resource := md.ResourceMetrics().At(0).Resource() + resource.Attributes().Clear() for k, v := range attributes { resource.Attributes().PutStr(k, v) } @@ -158,11 +160,12 @@ func generateMetricData(attributes map[string]string) pmetric.Metrics { } func generateLogData(attributes map[string]string) plog.Logs { - ld := testdata.GenerateLogsOneLogRecordNoResource() + ld := testdata.GenerateLogs(1) if attributes == nil { return ld } resource := ld.ResourceLogs().At(0).Resource() + resource.Attributes().Clear() for k, v := range attributes { resource.Attributes().PutStr(k, v) } diff --git a/processor/spanprocessor/go.mod b/processor/spanprocessor/go.mod index e117ed5d2856..9250533c3164 100644 --- a/processor/spanprocessor/go.mod +++ b/processor/spanprocessor/go.mod @@ -3,7 +3,6 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanp go 1.22.0 require ( - github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/pkg/ottl v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.116.0 @@ -14,6 +13,7 @@ require ( go.opentelemetry.io/collector/consumer v1.22.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/consumer/consumertest v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 + go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/processor v0.116.1-0.20241220212031-7c2639723f67 go.opentelemetry.io/collector/processor/processortest v0.116.1-0.20241220212031-7c2639723f67 @@ -50,6 +50,7 @@ require ( github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.116.0 // indirect github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil v0.116.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect @@ -59,7 +60,6 @@ require ( go.opentelemetry.io/collector/consumer/xconsumer v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/featuregate v1.22.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 // indirect - go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/collector/processor/xprocessor v0.116.1-0.20241220212031-7c2639723f67 // indirect go.opentelemetry.io/otel v1.32.0 // indirect go.opentelemetry.io/otel/metric v1.32.0 // indirect diff --git a/processor/spanprocessor/span_test.go b/processor/spanprocessor/span_test.go index 7086318fc117..0d12fe6c5905 100644 --- a/processor/spanprocessor/span_test.go +++ b/processor/spanprocessor/span_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/require" "go.opentelemetry.io/collector/consumer/consumertest" "go.opentelemetry.io/collector/pdata/ptrace" + "go.opentelemetry.io/collector/pdata/testdata" "go.opentelemetry.io/collector/processor" "go.opentelemetry.io/collector/processor/processortest" conventions "go.opentelemetry.io/collector/semconv/v1.6.1" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter/filterconfig" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter/filterset" "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest/ptracetest" @@ -71,6 +71,11 @@ func TestSpanProcessor_NilEmptyData(t *testing.T) { input ptrace.Traces output ptrace.Traces } + noScope := func() ptrace.Traces { + ns := ptrace.NewTraces() + ns.ResourceSpans().AppendEmpty() + return ns + } // TODO: Add test for "nil" Span. This needs support from data slices to allow to construct that. testCases := []nilEmptyTestCase{ { @@ -79,19 +84,14 @@ func TestSpanProcessor_NilEmptyData(t *testing.T) { output: ptrace.NewTraces(), }, { - name: "one-empty-resource-spans", - input: testdata.GenerateTracesOneEmptyResourceSpans(), - output: testdata.GenerateTracesOneEmptyResourceSpans(), - }, - { - name: "no-libraries", - input: testdata.GenerateTracesNoLibraries(), - output: testdata.GenerateTracesNoLibraries(), + name: "no-scope", + input: noScope(), + output: noScope(), }, { - name: "one-empty-instrumentation-library", - input: testdata.GenerateTracesOneEmptyInstrumentationLibrary(), - output: testdata.GenerateTracesOneEmptyInstrumentationLibrary(), + name: "no-spans", + input: testdata.GenerateTraces(0), + output: testdata.GenerateTraces(0), }, } factory := NewFactory() diff --git a/receiver/aerospikereceiver/go.sum b/receiver/aerospikereceiver/go.sum index 7c7e282fc370..cdf37b7ff4d8 100644 --- a/receiver/aerospikereceiver/go.sum +++ b/receiver/aerospikereceiver/go.sum @@ -172,8 +172,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/apachereceiver/go.sum b/receiver/apachereceiver/go.sum index 25ec232841ef..16e50d27187f 100644 --- a/receiver/apachereceiver/go.sum +++ b/receiver/apachereceiver/go.sum @@ -180,8 +180,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/apachesparkreceiver/go.sum b/receiver/apachesparkreceiver/go.sum index 25ec232841ef..16e50d27187f 100644 --- a/receiver/apachesparkreceiver/go.sum +++ b/receiver/apachesparkreceiver/go.sum @@ -180,8 +180,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/awsxrayreceiver/go.sum b/receiver/awsxrayreceiver/go.sum index 37db70a6b048..319d0917fe97 100644 --- a/receiver/awsxrayreceiver/go.sum +++ b/receiver/awsxrayreceiver/go.sum @@ -92,8 +92,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/bigipreceiver/go.sum b/receiver/bigipreceiver/go.sum index 25ec232841ef..16e50d27187f 100644 --- a/receiver/bigipreceiver/go.sum +++ b/receiver/bigipreceiver/go.sum @@ -180,8 +180,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/cloudflarereceiver/go.sum b/receiver/cloudflarereceiver/go.sum index b6b473648e4e..72a3ef853b2d 100644 --- a/receiver/cloudflarereceiver/go.sum +++ b/receiver/cloudflarereceiver/go.sum @@ -84,8 +84,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/datadogreceiver/go.sum b/receiver/datadogreceiver/go.sum index c89dad89c9d8..6b99e48c0208 100644 --- a/receiver/datadogreceiver/go.sum +++ b/receiver/datadogreceiver/go.sum @@ -211,8 +211,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/processor v0.104.0 h1:KSvMDu4DWmK1/k2z2rOzMtTvAa00jnTabtPEK9WOSYI= diff --git a/receiver/elasticsearchreceiver/go.sum b/receiver/elasticsearchreceiver/go.sum index 48d63605fc9e..718c54cc1995 100644 --- a/receiver/elasticsearchreceiver/go.sum +++ b/receiver/elasticsearchreceiver/go.sum @@ -182,8 +182,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/filelogreceiver/go.sum b/receiver/filelogreceiver/go.sum index c882f7391ed9..ff13595b42bc 100644 --- a/receiver/filelogreceiver/go.sum +++ b/receiver/filelogreceiver/go.sum @@ -103,8 +103,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/filestatsreceiver/go.sum b/receiver/filestatsreceiver/go.sum index 6169c73de150..aa9503901610 100644 --- a/receiver/filestatsreceiver/go.sum +++ b/receiver/filestatsreceiver/go.sum @@ -156,8 +156,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/haproxyreceiver/go.sum b/receiver/haproxyreceiver/go.sum index 25ec232841ef..16e50d27187f 100644 --- a/receiver/haproxyreceiver/go.sum +++ b/receiver/haproxyreceiver/go.sum @@ -180,8 +180,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/hostmetricsreceiver/go.sum b/receiver/hostmetricsreceiver/go.sum index d577db32724a..eb158a1909f0 100644 --- a/receiver/hostmetricsreceiver/go.sum +++ b/receiver/hostmetricsreceiver/go.sum @@ -173,8 +173,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/iisreceiver/go.sum b/receiver/iisreceiver/go.sum index 398ac96fcc99..cafd6a9f01f1 100644 --- a/receiver/iisreceiver/go.sum +++ b/receiver/iisreceiver/go.sum @@ -154,8 +154,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/jaegerreceiver/go.sum b/receiver/jaegerreceiver/go.sum index afaa7b1f63ad..d4ecf81bd9fa 100644 --- a/receiver/jaegerreceiver/go.sum +++ b/receiver/jaegerreceiver/go.sum @@ -171,8 +171,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/jmxreceiver/go.sum b/receiver/jmxreceiver/go.sum index 85c3bb2a0acb..28590e53400c 100644 --- a/receiver/jmxreceiver/go.sum +++ b/receiver/jmxreceiver/go.sum @@ -210,8 +210,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/journaldreceiver/go.sum b/receiver/journaldreceiver/go.sum index ce5401b1d8b5..ddd64ba37ee8 100644 --- a/receiver/journaldreceiver/go.sum +++ b/receiver/journaldreceiver/go.sum @@ -99,8 +99,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/libhoneyreceiver/go.sum b/receiver/libhoneyreceiver/go.sum index 4e1ef6d99568..615c81550c31 100644 --- a/receiver/libhoneyreceiver/go.sum +++ b/receiver/libhoneyreceiver/go.sum @@ -106,8 +106,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/lokireceiver/go.sum b/receiver/lokireceiver/go.sum index bad8d9f5ead7..44740e903c57 100644 --- a/receiver/lokireceiver/go.sum +++ b/receiver/lokireceiver/go.sum @@ -172,8 +172,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/memcachedreceiver/go.sum b/receiver/memcachedreceiver/go.sum index 0b25eec79fe9..d6b93364f8e5 100644 --- a/receiver/memcachedreceiver/go.sum +++ b/receiver/memcachedreceiver/go.sum @@ -156,8 +156,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/mongodbatlasreceiver/go.sum b/receiver/mongodbatlasreceiver/go.sum index 030b36e27fb8..d221e63f69d1 100644 --- a/receiver/mongodbatlasreceiver/go.sum +++ b/receiver/mongodbatlasreceiver/go.sum @@ -120,8 +120,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/mongodbreceiver/go.sum b/receiver/mongodbreceiver/go.sum index de6bea45d151..fa12272e7d55 100644 --- a/receiver/mongodbreceiver/go.sum +++ b/receiver/mongodbreceiver/go.sum @@ -181,8 +181,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/mysqlreceiver/go.sum b/receiver/mysqlreceiver/go.sum index 35f6deb58352..cf623786826d 100644 --- a/receiver/mysqlreceiver/go.sum +++ b/receiver/mysqlreceiver/go.sum @@ -168,8 +168,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/namedpipereceiver/go.sum b/receiver/namedpipereceiver/go.sum index 8e1edb80447e..2fd1eb59a3a9 100644 --- a/receiver/namedpipereceiver/go.sum +++ b/receiver/namedpipereceiver/go.sum @@ -101,8 +101,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/nginxreceiver/go.sum b/receiver/nginxreceiver/go.sum index f1eb07a3a341..f6fb5bb018c9 100644 --- a/receiver/nginxreceiver/go.sum +++ b/receiver/nginxreceiver/go.sum @@ -180,8 +180,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/postgresqlreceiver/go.sum b/receiver/postgresqlreceiver/go.sum index 33ca2979f167..240a5720813a 100644 --- a/receiver/postgresqlreceiver/go.sum +++ b/receiver/postgresqlreceiver/go.sum @@ -168,8 +168,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/pulsarreceiver/go.sum b/receiver/pulsarreceiver/go.sum index d5d74a2ae1f5..2377736f132e 100644 --- a/receiver/pulsarreceiver/go.sum +++ b/receiver/pulsarreceiver/go.sum @@ -240,8 +240,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/redisreceiver/go.sum b/receiver/redisreceiver/go.sum index d868cd470499..a8d78116648b 100644 --- a/receiver/redisreceiver/go.sum +++ b/receiver/redisreceiver/go.sum @@ -170,8 +170,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/sapmreceiver/go.sum b/receiver/sapmreceiver/go.sum index abebb736529b..d4557f40b058 100644 --- a/receiver/sapmreceiver/go.sum +++ b/receiver/sapmreceiver/go.sum @@ -117,8 +117,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/signalfxreceiver/go.sum b/receiver/signalfxreceiver/go.sum index 99945b3a442e..f46a995979d3 100644 --- a/receiver/signalfxreceiver/go.sum +++ b/receiver/signalfxreceiver/go.sum @@ -159,8 +159,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/splunkhecreceiver/go.sum b/receiver/splunkhecreceiver/go.sum index 7269ad00df45..42573b8db9d0 100644 --- a/receiver/splunkhecreceiver/go.sum +++ b/receiver/splunkhecreceiver/go.sum @@ -190,8 +190,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/sqlqueryreceiver/go.sum b/receiver/sqlqueryreceiver/go.sum index 47eeb42cfaf8..25cee0624a23 100644 --- a/receiver/sqlqueryreceiver/go.sum +++ b/receiver/sqlqueryreceiver/go.sum @@ -318,8 +318,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/statsdreceiver/go.sum b/receiver/statsdreceiver/go.sum index 43909a67e5f3..762b7fdc33ae 100644 --- a/receiver/statsdreceiver/go.sum +++ b/receiver/statsdreceiver/go.sum @@ -82,8 +82,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/syslogreceiver/go.sum b/receiver/syslogreceiver/go.sum index 68ab90bdc020..b1f5032ff343 100644 --- a/receiver/syslogreceiver/go.sum +++ b/receiver/syslogreceiver/go.sum @@ -107,8 +107,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/tcplogreceiver/go.sum b/receiver/tcplogreceiver/go.sum index 68ab90bdc020..b1f5032ff343 100644 --- a/receiver/tcplogreceiver/go.sum +++ b/receiver/tcplogreceiver/go.sum @@ -107,8 +107,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/udplogreceiver/go.sum b/receiver/udplogreceiver/go.sum index ce5401b1d8b5..ddd64ba37ee8 100644 --- a/receiver/udplogreceiver/go.sum +++ b/receiver/udplogreceiver/go.sum @@ -99,8 +99,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/vcenterreceiver/go.sum b/receiver/vcenterreceiver/go.sum index 2d922320917c..ce98e55e3167 100644 --- a/receiver/vcenterreceiver/go.sum +++ b/receiver/vcenterreceiver/go.sum @@ -172,8 +172,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/windowseventlogreceiver/go.sum b/receiver/windowseventlogreceiver/go.sum index ce5401b1d8b5..ddd64ba37ee8 100644 --- a/receiver/windowseventlogreceiver/go.sum +++ b/receiver/windowseventlogreceiver/go.sum @@ -99,8 +99,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/zipkinreceiver/go.sum b/receiver/zipkinreceiver/go.sum index 796fb8991f18..03ff521a8496 100644 --- a/receiver/zipkinreceiver/go.sum +++ b/receiver/zipkinreceiver/go.sum @@ -115,8 +115,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws= diff --git a/receiver/zookeeperreceiver/go.sum b/receiver/zookeeperreceiver/go.sum index 2183d73ca009..aa025dc699e5 100644 --- a/receiver/zookeeperreceiver/go.sum +++ b/receiver/zookeeperreceiver/go.sum @@ -160,8 +160,8 @@ go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67 h1:qJ2 go.opentelemetry.io/collector/pdata v1.22.1-0.20241220212031-7c2639723f67/go.mod h1:u3EKrLq8yiwlpVNKpucpcDUqdl6RquaOqo3jXiN7jtg= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67 h1:BE8oNrfh2cvembF8+QDHayf94zKD1jc8v1n57n2nUjU= go.opentelemetry.io/collector/pdata/pprofile v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:7/n2x/hdz00grs4NtJWRsPwzbqdkQSj0UfyJF5u41bs= -go.opentelemetry.io/collector/pdata/testdata v0.116.0 h1:zmn1zpeX2BvzL6vt2dBF4OuAyFF2ml/OXcqflNgFiP0= -go.opentelemetry.io/collector/pdata/testdata v0.116.0/go.mod h1:ytWzICFN4XTDP6o65B4+Ed52JGdqgk9B8CpLHCeCpMo= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67 h1:AU32B8/u5fdRGstGegM/VDcNTll9zqIM/Xd6C+R4E9w= +go.opentelemetry.io/collector/pdata/testdata v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:cUnU0+Tstd2AVgI113R0GQhaOQTjBFSleCEMwOk17O4= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67 h1:FVxoHfNfgHZ8gxdqvSOopWq7xrsHXOu6PYdPeyJtY10= go.opentelemetry.io/collector/pipeline v0.116.1-0.20241220212031-7c2639723f67/go.mod h1:qE3DmoB05AW0C3lmPvdxZqd/H4po84NPzd5MrqgtL74= go.opentelemetry.io/collector/receiver v0.116.1-0.20241220212031-7c2639723f67 h1:vI94xzkxabk9PHq5BGlM2YgciZ6ncJVdB2/d7JNV2ws=