Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mongodb] instrumentation loosing context #1688

Closed
david-luna opened this issue Sep 19, 2023 · 3 comments · Fixed by #1721
Closed

[mongodb] instrumentation loosing context #1688

david-luna opened this issue Sep 19, 2023 · 3 comments · Fixed by #1721
Labels
bug Something isn't working has:reproducer This bug/feature has a minimal reproduction provided priority:p2 Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect

Comments

@david-luna
Copy link
Contributor

What version of OpenTelemetry are you using?

@opentelemetry/api: 1.4.1
@opentelemetry/auto-instrumentations-node: 0.39.2
@opentelemetry/sdk-metrics: 1.15.2
@opentelemetry/sdk-node: 0.41.2

and

mongodb: 5.8.1

What version of Node are you using?

All versions supported by mongodb@5
>=14.20.1

What did you do?

Created an app which does queries to MongoDB and instrumented with Otel to get tracing of HTTP spans and their child database spans.

Repo with the code
https://github.com/david-luna/node-mongodb-native-async-resource

What did you expect to see?

When requesting the app concurrently I expect each HTTP span to have its child database span.

What did you see instead?

Database spans are grouped as children of few HTTP spans and the rest of HTTP spans have no child.

Additional context

I've done some research and found the issue is happening since mongodb driver uses a pool for connections queueing all command until a connection is available. Queued callbacks loose the execution context therefore mongodb spans are linked to the wrong parent HTTP span.

I've made a small gist to show how a pool affects async context
https://gist.github.com/david-luna/8a66fc1308301f79af8bd2eb65bcbc07

Also I've created a repo with an app that reproduces the issue which is affecting not only Otel but other tracers like elastic-apm-node.
https://github.com/david-luna/node-mongodb-native-async-resource

This could be fixed in mongodb itself if they do bind the execution context to the queued callbacks. I've opened an issue and created a PR to fix it but it's waiting for mongodb's team response.
issue: https://jira.mongodb.org/browse/NODE-5639
PR: mongodb/node-mongodb-native#3871

Even if they accept the fix we probably will need to support earlier versions for customers that can't update to the ones with the fix.

@david-luna david-luna added the bug Something isn't working label Sep 19, 2023
@david-luna david-luna changed the title mongodb instrumentation loosing async context [mongodb] instrumentation loosing async context Sep 19, 2023
@david-luna david-luna changed the title [mongodb] instrumentation loosing async context [mongodb] instrumentation loosing context Sep 19, 2023
@pichlermarc pichlermarc added the priority:p2 Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect label Sep 20, 2023
@trentm
Copy link
Contributor

trentm commented Sep 20, 2023

(@david-luna We discussed on the SIG today.)

@osherv You are the component owner for the OTel instrumentation-mongodb. The issue with the mongodb driver losing async context happens in mongodb@5 and mongodb@6. We are hoping to get a PR merged so that newer versions of mongodb v5 and v6 no longer have the issue. For earlier versions of mongodb v5 and v6 we could either:

  1. update instrumentation-mongodb to patch those earlier versions to fix the issue; or
  2. wait for releases of mongodb v5 and v6 with the fixes and just document that users can upgrade to those versions.

@osherv, Do you have a preference?

If I understood correctly on the SIG call today, I think @pichlermarc expressed a slight preference for doing (2).

@trentm
Copy link
Contributor

trentm commented Sep 20, 2023

@david-luna Marc also asked about mongodb@4 status. Do you happen to know if it is instrumented? if it has the same issue? if it is even a relevant version of mongodb anymore?

@pichlermarc pichlermarc added the has:reproducer This bug/feature has a minimal reproduction provided label Sep 21, 2023
@david-luna
Copy link
Contributor Author

david-luna commented Sep 27, 2023

@trentm I've done tests on the repro repo and I could reproduce it down to version 4.0.0. Checking the instrumetation package I see Otel is instrumenting the version range >=3.3 <6. So I guess we should apply the fix for v4 and v5 instrumentations.

Here is the results testing with v4.0.0


> mongodb-native-async-resource-server@1.0.0 print
> node ./out/print.js elastic

trace e78855600bb75c766885129908
`- span 07744da216 "GET unknown route" (http://localhost:3000/create -> 200)
   `- span d3856d7cdb "trace-mongodb-cats.cats.insert" (mongodb)
   `- span d3856d7cdb "trace-mongodb-cats.cats.insert" (mongodb)
   `- span 658ec1f4d6 "trace-mongodb-cats.cats.find" (mongodb)
   `- span b0c37b6d43 "trace-mongodb-cats.cats.find" (mongodb)
   `- span 4809975fa2 "trace-mongodb-cats.cats.find" (mongodb)
trace 28576446bb641c1c025f0ce0ed
`- span 74b7a7523e "GET unknown route" (http://localhost:3000/create -> 200)
   `- span 8b7a55cefb "trace-mongodb-cats.cats.insert" (mongodb)
trace 3d5d15174f2ba3d3e32ef69d17
`- span 89eb18ce00 "GET unknown route" (http://localhost:3000/create -> 200)
   `- span 20aca049f4 "trace-mongodb-cats.cats.insert" (mongodb)
trace 4dbb439dcdc3bf33624c4950f0
`- span 05d8626214 "GET unknown route" (http://localhost:3000/create -> 200)
   `- span 7190647d69 "trace-mongodb-cats.cats.insert" (mongodb)
trace 6f65022d326625a7a85ad2fcd0
`- span 7689e53017 "GET unknown route" (http://localhost:3000/create -> 200)
   `- span ac4a1ef428 "trace-mongodb-cats.cats.insert" (mongodb)
trace 44801c8dd421edd9c5056cfd71
`- span 3baccd8ab5 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span b2dd927fa6 "trace-mongodb-cats.cats.find" (mongodb)
trace 7d8f07f9068323f6435669a628
`- span e0bcc349f9 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 9bb44b6d56 "trace-mongodb-cats.cats.find" (mongodb)
trace 5e971cb448ad0ef3ec2f805407
`- span 2bebf33e14 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 0c64c7172c "trace-mongodb-cats.cats.find" (mongodb)
trace 0ce98b620e0b1e3ba33530a008
`- span bae052d17e "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 6ff7718b48 "trace-mongodb-cats.cats.find" (mongodb)
trace bd3d710e08189c4c8ad6f3070c
`- span b5db4131fb "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 872c37aa62 "trace-mongodb-cats.cats.find" (mongodb)
trace 05c8a455d377787be0b380b789
`- span f4dd9893f6 "GET unknown route" (http://localhost:3000/getAll -> 200)
trace 8f811c8c5bac61174a599f8a29
`- span f7ee0c2e39 "GET unknown route" (http://localhost:3000/getAll -> 200)
trace 4c894092b46ddf75f0bfbbdb17
`- span 8b65514a9f "GET unknown route" (http://localhost:3000/getAll -> 200)
trace 606f4f565044cc27225c28d27b
`- span c33026dc55 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span bb5ad6319e "trace-mongodb-cats.cats.find" (mongodb)
trace 547a29930d7756f8c6c9ac709b
`- span 2319619f9e "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 7ebe99236a "trace-mongodb-cats.cats.find" (mongodb)
trace 7dee5b76b2cffbdc59ef803f72
`- span 9989330072 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span bb594baec7 "trace-mongodb-cats.cats.find" (mongodb)
trace 81be80fae08fa7486e27c0bd3e
`- span fe2cc36af6 "GET unknown route" (http://localhost:3000/getAll -> 200)
trace 632d8a38340a6dea1a7cce5d77
`- span 4511139877 "GET unknown route" (http://localhost:3000/getAll -> 200)
trace b976b6afed61c9e8ae5740ecd0
`- span 0d69489a09 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 14baa3d1b5 "trace-mongodb-cats.cats.find" (mongodb)
trace 0aea58ba4b9a2bf06d6c3443f6
`- span a1361b4ee9 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 38954dba19 "trace-mongodb-cats.cats.find" (mongodb)
trace 6aa57970a5ed366f694adc2e6b
`- span 1e51c1dc92 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span c22de7ca13 "trace-mongodb-cats.cats.find" (mongodb)
trace 476d943b21202a54e9461bb6e1
`- span 3c135a7c52 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 2934a48929 "trace-mongodb-cats.cats.find" (mongodb)
trace 79cd2da426de486b0c9f51e757
`- span c60828234f "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 5890c14abe "trace-mongodb-cats.cats.find" (mongodb)
trace 3d3331691d2c28bbc40ef49051
`- span 79b72478ba "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span b9b1af5599 "trace-mongodb-cats.cats.find" (mongodb)
trace b76042b4c796bd438882c70c23
`- span 553bc34e12 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span b7f3f21cb6 "trace-mongodb-cats.cats.find" (mongodb)
trace dab3953f42f96abc4f804b73a4
`- span 89a1752c41 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span f9ed2d781e "trace-mongodb-cats.cats.find" (mongodb)
trace b1385128c0b72c31ced563854b
`- span 751c7afb99 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span a8f74bdfc2 "trace-mongodb-cats.cats.find" (mongodb)
trace 6e63cc2d4ddf6da08ebcc2c2a4
`- span 18d7c78e61 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span c52e99b3e9 "trace-mongodb-cats.cats.find" (mongodb)
trace 15261fa15850cd4aeac80ac326
`- span 6fc3df9cf7 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 7e87010b9e "trace-mongodb-cats.cats.find" (mongodb)
trace 587b48c90245ca1812dfd4c347
`- span 6f8d905198 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span aaac7a6ba4 "trace-mongodb-cats.cats.find" (mongodb)
trace 1b2144b9c1f091a64cdd0ff7c5
`- span 7d16c7bc3f "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 048c064a76 "trace-mongodb-cats.cats.find" (mongodb)
trace 12a4b9a2ee163b3d7033ea55c0
`- span 469067a1b8 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span ef4bb7a163 "trace-mongodb-cats.cats.find" (mongodb)
trace 41bc33d659fc6b6a4b3af54e43
`- span 9386741fa1 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span fe72d55d99 "trace-mongodb-cats.cats.find" (mongodb)
trace 5de17cd6fa301b851fc0a9fa56
`- span 5d0f77811e "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 5b210210d7 "trace-mongodb-cats.cats.find" (mongodb)
trace 43a0b00f0ab1e87a65de96ed86
`- span 6792925148 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 6f4bccc043 "trace-mongodb-cats.cats.find" (mongodb)
trace b09a522e59b60cf7573881ef10
`- span ee82e6eb43 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 28611f63a7 "trace-mongodb-cats.cats.find" (mongodb)
trace 8f81ee96e00432f2de051fca81
`- span 1ba90d9471 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 6c5ecf8130 "trace-mongodb-cats.cats.find" (mongodb)
trace 190c26a9d35935fb5c623c2301
`- span 3fd7574623 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 28a5dcc8d4 "trace-mongodb-cats.cats.find" (mongodb)
trace 15750c680452f3b67a4d0d7f6e
`- span 0988165483 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 2893ac5888 "trace-mongodb-cats.cats.find" (mongodb)
trace c10d1e74a1f87ff6e8c5e4206a
`- span d13d5986c6 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span a7f48657cc "trace-mongodb-cats.cats.find" (mongodb)
trace 2547aaca0d06e290263f832892
`- span 2295165007 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span cd37b827a4 "trace-mongodb-cats.cats.find" (mongodb)
trace 983a85338138b5c96a1b7a5ff5
`- span 49e4cdfdfb "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span aceb41845d "trace-mongodb-cats.cats.find" (mongodb)
trace 40da4a89680c4e8da3715d89fd
`- span 020398f3f2 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 04e710890d "trace-mongodb-cats.cats.find" (mongodb)
trace d6401263c21335edc3d8267aab
`- span 831b8aaaf6 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 5d38989b75 "trace-mongodb-cats.cats.find" (mongodb)
trace c7c0e47ae5ab94b3c6aba60bea
`- span 28ed46103d "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 6e950166fc "trace-mongodb-cats.cats.find" (mongodb)
trace 6d238b509c8109adf27acb0424
`- span 2c090ce592 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 8000871a0d "trace-mongodb-cats.cats.find" (mongodb)
trace edcad5a120e7305681676e2193
`- span 4842134d3b "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 11304a1d55 "trace-mongodb-cats.cats.find" (mongodb)
trace 994bafc5e10edbc7b4e966fafb
`- span b6af9af95a "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span d2132890c5 "trace-mongodb-cats.cats.find" (mongodb)
trace bbebe7fe563a58204773fe2056
`- span fd79884a55 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 8310e2322f "trace-mongodb-cats.cats.find" (mongodb)
trace 7712929329291432ce829ee9c5
`- span 99c5ca70b3 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 990941f3d8 "trace-mongodb-cats.cats.find" (mongodb)
trace bd82dfcbb85b61ffc41efa2ef5
`- span b78c244c21 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span d47ca2ba96 "trace-mongodb-cats.cats.find" (mongodb)
trace fb85f4d5b00dea126d18b4ccf4
`- span 7218db7796 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span d390b4f65a "trace-mongodb-cats.cats.find" (mongodb)
trace 0a801d48f03d3bde48061c0eb9
`- span 277b3e0236 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span be410db3f2 "trace-mongodb-cats.cats.find" (mongodb)
trace 898d1f52972cf1840b4c266f1c
`- span c8fdabf5d6 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 918e8a4c2c "trace-mongodb-cats.cats.find" (mongodb)
trace 8c3135d5e7eaa5601b52858b90
`- span ca8f8a9aea "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 711e782374 "trace-mongodb-cats.cats.find" (mongodb)
trace 4220e0ffb5105af8f20d02055a
`- span 81133216b4 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 7b87f2a225 "trace-mongodb-cats.cats.find" (mongodb)
trace 655ed31d5d0e63c25fc8815c5a
`- span f5c9d737d1 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span d5b3e268a1 "trace-mongodb-cats.cats.find" (mongodb)
trace 5a8e134ee177961a1790b9920a
`- span de45807914 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 55bdd85436 "trace-mongodb-cats.cats.find" (mongodb)
trace 2874106ba9610fd06df6a7b533
`- span 0be292ae02 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 2031cb5c62 "trace-mongodb-cats.cats.find" (mongodb)
trace 9680f784c9939026d9323c7f5c
`- span 2907208736 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 8107d43781 "trace-mongodb-cats.cats.find" (mongodb)
trace da5ce4039666b5519a7f3b35d2
`- span 5454b706f5 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 723387fc42 "trace-mongodb-cats.cats.find" (mongodb)
trace d31640329127ee53e15902c615
`- span 4a9ef8acb7 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 34145acbc8 "trace-mongodb-cats.cats.find" (mongodb)
trace bd5868adff3119347132eb7b47
`- span 3059a99cda "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 8f2727e453 "trace-mongodb-cats.cats.find" (mongodb)
trace 402f71741eb288da1817f5fe0a
`- span af1f7bfa52 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 4eea7863f3 "trace-mongodb-cats.cats.find" (mongodb)
trace 5714f70b79785b45795dba7d19
`- span 0cff8bd273 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 24b3b3738c "trace-mongodb-cats.cats.find" (mongodb)
trace 83d2b5160cbab25ffeab813cc5
`- span eef30e8b92 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span bb10101d3d "trace-mongodb-cats.cats.find" (mongodb)
trace 74962c035c9214f73ebfb3d213
`- span 7638f80938 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 761e241fca "trace-mongodb-cats.cats.find" (mongodb)
trace abc655c55013f2185d835b85b7
`- span cf720414f5 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 69d03ddac1 "trace-mongodb-cats.cats.find" (mongodb)
trace 6fff481b70d8f0e8f846bd32a3
`- span 600a7fa9b9 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 633327aea8 "trace-mongodb-cats.cats.find" (mongodb)
trace c730d972395bc4d25cf7ad0acc
`- span 86da25f606 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 994288215b "trace-mongodb-cats.cats.find" (mongodb)
trace 48957d6dddb9c5df15c71f0b79
`- span ed228f46a5 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span c7df60af38 "trace-mongodb-cats.cats.find" (mongodb)
trace b2ce06169c236d3056569df4f3
`- span 37f921688b "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span c3af52b6ca "trace-mongodb-cats.cats.find" (mongodb)
trace 3de08df110b96053e1f68e3647
`- span a5d7d3fb38 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 7cfc9dc48f "trace-mongodb-cats.cats.find" (mongodb)
trace 76fcfbc327b24a9c7b6982daef
`- span 8c5465fd02 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span b78ee8ba62 "trace-mongodb-cats.cats.find" (mongodb)
trace 66beda9f119275c06d892dea15
`- span 6d9c738330 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 66e02d0554 "trace-mongodb-cats.cats.find" (mongodb)
trace 8277965bf8d362e1864707eba8
`- span 4bad9519f6 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 23b5835b83 "trace-mongodb-cats.cats.find" (mongodb)
trace fd84ef2eb49e99000f62c2e964
`- span 6f6c402b0d "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span b712c768ee "trace-mongodb-cats.cats.find" (mongodb)
trace d75aa5805446398a3f894830e9
`- span 6451707c22 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span e8914d2fac "trace-mongodb-cats.cats.find" (mongodb)
trace c86ea40a5092d9d2b5662440db
`- span 6077729afc "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span cb122185ea "trace-mongodb-cats.cats.find" (mongodb)
trace 4b9c60bf653308420c3f2674a6
`- span d71b9e5b35 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 5063fd03f1 "trace-mongodb-cats.cats.find" (mongodb)
trace edc3b071272d92f589dd366603
`- span c1b9f0acd5 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span f9c36382b3 "trace-mongodb-cats.cats.find" (mongodb)
trace 119cf3cc9a3292d37ab2e816c8
`- span 8c864027e6 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 821c10b5bf "trace-mongodb-cats.cats.find" (mongodb)
trace 0a1a1789ee249d02f317adde40
`- span 8074d37061 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 3596489e79 "trace-mongodb-cats.cats.find" (mongodb)
trace add1dd2f15db94bf23ba4e44d4
`- span b7fd02e29a "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span f89f321b44 "trace-mongodb-cats.cats.find" (mongodb)
trace 0a4021245c4aa757987a5896ad
`- span 9e7b0bf0cd "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span e1def9c017 "trace-mongodb-cats.cats.find" (mongodb)
trace c16cdab3044e244173b426bc97
`- span 14b722cec3 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span af7afadc6b "trace-mongodb-cats.cats.find" (mongodb)
trace d01be52c4e117a2a0171b5eee9
`- span da43d0e7d0 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 55367202bc "trace-mongodb-cats.cats.find" (mongodb)
trace 952e3a92339348c3d1494d2960
`- span f00380059d "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 14ab89178e "trace-mongodb-cats.cats.find" (mongodb)
trace 60e00e7ede12272902b7290b9d
`- span e6d3e25d27 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span d44d8cfc5f "trace-mongodb-cats.cats.find" (mongodb)
trace 937066252a8c39edfeab49372d
`- span 352d9ed2cb "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 14fa510e16 "trace-mongodb-cats.cats.find" (mongodb)
trace 7d668af0d0bb679b201c12b90e
`- span 0041dbd809 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 92ab3a8110 "trace-mongodb-cats.cats.find" (mongodb)
trace 647ccf8360074e2e41a37040f6
`- span bba7fe8e62 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 3f11f15cbb "trace-mongodb-cats.cats.find" (mongodb)
trace 58bc6acbfe7f534e88fbf67047
`- span 6a9d35c0d1 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span ecffd0e91f "trace-mongodb-cats.cats.find" (mongodb)
trace bacf146afc24beb2e0334f2420
`- span 8325a94ab3 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 3d6bc434eb "trace-mongodb-cats.cats.find" (mongodb)
trace 28d5a03d93409662301973fd2d
`- span 98ef5ea0d8 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 018e5324cc "trace-mongodb-cats.cats.find" (mongodb)
trace 2c2a0a5bdf0d08bfca8f0439db
`- span bdc2cdf3c4 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 45d841eec4 "trace-mongodb-cats.cats.find" (mongodb)
trace 98438132d9628620e40e7f3dd1
`- span 27dac4ffd7 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span fd6c66bd0c "trace-mongodb-cats.cats.find" (mongodb)
trace f380de7be9730a1525b45226b8
`- span 0d100c6d85 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 5eb69f184e "trace-mongodb-cats.cats.find" (mongodb)
trace 82eaf3e28be6677465d9427fa6
`- span 3206fb47e5 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 0a900a8e02 "trace-mongodb-cats.cats.find" (mongodb)
trace 18786c815fa685b7f55f687f7d
`- span 04a5192679 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 44a5977fe7 "trace-mongodb-cats.cats.find" (mongodb)
trace fad900ef70e33e1f5752fb0525
`- span 327a5fe0c3 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 156ad922f6 "trace-mongodb-cats.cats.find" (mongodb)
trace 3bd0d889f2ee982c75b43381b8
`- span 222efbcd10 "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 0ba80e8c22 "trace-mongodb-cats.cats.find" (mongodb)
trace 69859cef1786326200f9ff297f
`- span 0c1f157dff "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 0ed39e86d4 "trace-mongodb-cats.cats.find" (mongodb)
trace 9ea49c2d3b1c1d3b1f44c0f77a
`- span d09bde2d5e "GET unknown route" (http://localhost:3000/getAll -> 200)
   `- span 08f80f3cc0 "trace-mongodb-cats.cats.find" (mongodb)
trace a729647cfd35e19dd38194921c
`- span f98c934e09 "GET unknown route" (http://localhost:3000/getAll -> 200)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working has:reproducer This bug/feature has a minimal reproduction provided priority:p2 Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants