Skip to content

Commit

Permalink
chore: update region tags (#927)
Browse files Browse the repository at this point in the history
Update region tags to match our samples tracker.
  • Loading branch information
fhinkel authored and kjin committed Nov 29, 2018
1 parent 10bb78b commit 2fa098d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions samples/app.js
Expand Up @@ -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');
Expand Down Expand Up @@ -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]
4 changes: 2 additions & 2 deletions samples/snippets.js
Expand Up @@ -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]

0 comments on commit 2fa098d

Please sign in to comment.