@@ -255,7 +255,7 @@ func TestResourceDetectionTrace(t *testing.T) {
255255 labelExpectation {expectKey : "cloud.platform" , expectRe : `gcp_cloud_run` },
256256 labelExpectation {expectKey : "cloud.region" , expectRe : `.*-.*` },
257257 labelExpectation {expectKey : "faas.name" , expectRe : `.*` },
258- labelExpectation {expectKey : "faas.id " , expectRe : `.*` },
258+ labelExpectation {expectKey : "faas.instance " , expectRe : `.*` },
259259 labelExpectation {expectKey : "faas.version" , expectRe : `.*` },
260260 )
261261 case args .CloudFunctionsGen2 != nil :
@@ -264,7 +264,7 @@ func TestResourceDetectionTrace(t *testing.T) {
264264 labelExpectation {expectKey : "cloud.platform" , expectRe : `gcp_cloud_functions` },
265265 labelExpectation {expectKey : "cloud.region" , expectRe : `.*-.*` },
266266 labelExpectation {expectKey : "faas.name" , expectRe : `.*` },
267- labelExpectation {expectKey : "faas.id " , expectRe : `.*` },
267+ labelExpectation {expectKey : "faas.instance " , expectRe : `.*` },
268268 labelExpectation {expectKey : "faas.version" , expectRe : `.*` },
269269 )
270270 case args .Gae != nil :
@@ -274,7 +274,7 @@ func TestResourceDetectionTrace(t *testing.T) {
274274 labelExpectation {expectKey : "cloud.availability_zone" , expectRe : `.*-.*-.*` },
275275 labelExpectation {expectKey : "cloud.region" , expectRe : `.*-.*` },
276276 labelExpectation {expectKey : "faas.name" , expectRe : `.*` },
277- labelExpectation {expectKey : "faas.id " , expectRe : `.*` },
277+ labelExpectation {expectKey : "faas.instance " , expectRe : `.*` },
278278 labelExpectation {expectKey : "faas.version" , expectRe : `.*` },
279279 )
280280 default :
0 commit comments