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

Support hapi tracing through the plugin API #379

Merged
merged 7 commits into from
Feb 17, 2017

Conversation

DominicKramer
Copy link
Contributor

No description provided.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 10, 2017
@DominicKramer
Copy link
Contributor Author

PTAL

res.setHeader(constants.TRACE_CONTEXT_HEADER_NAME, context);

// wrap end
res.end = function(chunk, encoding) {

This comment was marked as spam.

This comment was marked as spam.

var urlParse = require('url').parse;

var constants = require('../constants.js');
var TraceLabels = require('../trace-labels.js');

This comment was marked as spam.

This comment was marked as spam.

};
api.runInRootSpan(options, function(transaction) {
if (!transaction) {
// TODO: Determine if this message is still needed

This comment was marked as spam.

This comment was marked as spam.

@DominicKramer DominicKramer force-pushed the plugin/support-hapi branch 3 times, most recently from b487aa4 to 88d7ed3 Compare February 15, 2017 22:43
@DominicKramer DominicKramer merged commit 4c2f330 into googleapis:master Feb 17, 2017
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.

5 participants