Skip to content

Instantly share code, notes, and snippets.

@wperron
Last active July 13, 2021 14:28
Show Gist options
  • Save wperron/bf7a211ed8109bbbcfafd490cce64dff to your computer and use it in GitHub Desktop.
Save wperron/bf7a211ed8109bbbcfafd490cce64dff to your computer and use it in GitHub Desktop.
Deno Deploy get Trace ID
addEventListener("fetch", (e) => {
let ray = e.request.headers.get("x-deno-ray");
console.log(ray);
e.respondWith(new Response(ray, {status: 200}));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment