Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit 2fa098d

Browse files
fhinkelkjin
authored andcommitted
chore: update region tags (#927)
Update region tags to match our samples tracker.
1 parent 10bb78b commit 2fa098d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

samples/app.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616
'use strict';
1717

18-
// [START trace_app]
18+
// [START trace_setup_nodejs_app]
1919
if (process.env.NODE_ENV === 'production') {
20-
// [START trace_setup_implicit]
20+
// [START trace_setup_nodejs_implicit]
2121
require('@google-cloud/trace-agent').start();
22-
// [END trace_setup_implicit]
22+
// [END trace_setup_nodejs_implicit]
2323
}
2424

2525
const express = require('express');
@@ -53,4 +53,4 @@ app.listen(PORT, () => {
5353
console.log(`App listening on port ${PORT}`);
5454
console.log('Press Ctrl+C to quit.');
5555
});
56-
// [END trace_app]
56+
// [END trace_setup_nodejs_app]

samples/snippets.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
'use strict';
1717

18-
// [START trace_setup_explicit]
18+
// [START trace_setup_nodejs_explicit]
1919
require('@google-cloud/trace-agent').start({
2020
projectId: 'your-project-id',
2121
keyFilename: '/path/to/key.json'
2222
});
23-
// [END trace_setup_explicit]
23+
// [END trace_setup_nodejs_explicit]

0 commit comments

Comments
 (0)