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

test: test hapi tails #968

Merged
merged 2 commits into from
Feb 12, 2019
Merged

test: test hapi tails #968

merged 2 commits into from
Feb 12, 2019

Conversation

kjin
Copy link
Contributor

@kjin kjin commented Feb 12, 2019

Fixes #382

Since child spans are now allowed to track tail latencies, this PR adds a test to ensure that users of the Hapi tails API (up to v16, but also including the more general recommended mechanism in the v17 release notes under "Misc") can observe these child spans.

Note that child spans still cannot begin after a root span has ended.

@kjin kjin requested a review from a team February 12, 2019 01:24
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 12, 2019
@ofrobots
Copy link
Contributor

Note that child spans still cannot begin after a root span has ended.

Does this still fix #382 ?

@kjin
Copy link
Contributor Author

kjin commented Feb 12, 2019

@ofrobots The Hapi API for request tails doesn't give us enough control to define a new root span under which tail work will be associated. It's also a removed API in v17+ so I would consider it not high priority to support additional instrumentation specific to Hapi tails beyond just this test.

@JustinBeckwith JustinBeckwith merged commit 6535193 into googleapis:master Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants