Add a shared gateway tracing demo with Mongoose - #5
Merged
hossain-rayhan merged 4 commits intoAug 12, 2026
Merged
Conversation
Copilot-Session: 85f151f9-f585-4bdf-9c2b-798f8a2651be
Copilot-Session: 85f151f9-f585-4bdf-9c2b-798f8a2651be
udsmicrosoft
marked this pull request as ready for review
August 7, 2026 19:46
Copilot-Session: 85f151f9-f585-4bdf-9c2b-798f8a2651be
|
|
||
| build_container_uri() { | ||
| echo "mongodb://${DOCUMENTDB_USERNAME}:${DOCUMENTDB_PASSWORD}@localhost:${DOCUMENTDB_CONTAINER_PORT}/?tls=true&tlsAllowInvalidCertificates=true&directConnection=true" | ||
| } |
Collaborator
There was a problem hiding this comment.
what is the core difference between this new and our old approach? Do we really need to modify all the lib.sh files?
Contributor
Author
There was a problem hiding this comment.
The old code used the configurable host port for both app connections and readiness checks. Since the container always listens on 10260, custom host ports broke readiness checks. I think all four lib.sh files need the same fix.
Copilot-Session: fe7b5004-ec7a-481d-8522-df4c1dae36fe
hossain-rayhan
approved these changes
Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
ghcr.io/documentdb/documentdb/documentdb-local:trace-4fbbfcb8at manifest digestsha256:d02b04ad23c6474d0150c34e432e1d4cbcdf70a2b8c02ef86671bf925a02cd350.157.0, and Jaeger2.20.0stackGET /stats/genres -> mongoose.aggregate -> gateway.request -> gateway.process_request -> postgres.execute