Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

fix: end child spans correctly in pg#930

Merged
kjin merged 3 commits intogoogleapis:masterfrom
kjin:pg-fix
Jan 22, 2019
Merged

fix: end child spans correctly in pg#930
kjin merged 3 commits intogoogleapis:masterfrom
kjin:pg-fix

Conversation

@kjin
Copy link
Copy Markdown
Contributor

@kjin kjin commented Dec 3, 2018

Test failures in PR #913 (support child spans with tail latencies) exposes an issue with the instrumentation code for Postgres, where child spans were not being closed if a generic Submittable is used in lieu of a Query. This PR fixes that.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 3, 2018
@kjin kjin changed the title [wip] fix: end child spans correctly in pg fix: end child spans correctly in pg Dec 3, 2018
@kjin kjin requested a review from a team December 3, 2018 20:03
Comment thread src/plugins/plugin-pg.ts Outdated
Comment thread test/plugins/test-trace-pg.ts Outdated
Copy link
Copy Markdown
Contributor

@ofrobots ofrobots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubberstamp LGTM once the tests are green.

@kjin kjin merged commit 1a20b7c into googleapis:master Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants