Skip to content

Commit d72a3b5

Browse files
authored
change from expecting faas.id to faas.instance (#29)
1 parent 817cc26 commit d72a3b5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

trace_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)