From 2fa098d9f70e68a1a4df2c281335064a9b6d0d14 Mon Sep 17 00:00:00 2001 From: "F. Hinkelmann" Date: Thu, 29 Nov 2018 14:17:03 -0500 Subject: [PATCH] chore: update region tags (#927) Update region tags to match our samples tracker. --- samples/app.js | 8 ++++---- samples/snippets.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/app.js b/samples/app.js index a7027597e..17964e199 100644 --- a/samples/app.js +++ b/samples/app.js @@ -15,11 +15,11 @@ 'use strict'; -// [START trace_app] +// [START trace_setup_nodejs_app] if (process.env.NODE_ENV === 'production') { - // [START trace_setup_implicit] + // [START trace_setup_nodejs_implicit] require('@google-cloud/trace-agent').start(); - // [END trace_setup_implicit] + // [END trace_setup_nodejs_implicit] } const express = require('express'); @@ -53,4 +53,4 @@ app.listen(PORT, () => { console.log(`App listening on port ${PORT}`); console.log('Press Ctrl+C to quit.'); }); -// [END trace_app] +// [END trace_setup_nodejs_app] diff --git a/samples/snippets.js b/samples/snippets.js index b9d1c592c..9e8fd2da8 100644 --- a/samples/snippets.js +++ b/samples/snippets.js @@ -15,9 +15,9 @@ 'use strict'; -// [START trace_setup_explicit] +// [START trace_setup_nodejs_explicit] require('@google-cloud/trace-agent').start({ projectId: 'your-project-id', keyFilename: '/path/to/key.json' }); -// [END trace_setup_explicit] +// [END trace_setup_nodejs_explicit]