Skip to content

Commit

Permalink
add samples tags (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamfweidman committed Feb 28, 2024
1 parent 7c8190e commit a7caa28
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions samples/broken-links-ok/.puppeteerrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// [START monitoring_synthetic_monitoring_broken_links_puppeteer_cjs]
const { join } = require('path');

/**
Expand All @@ -20,3 +21,4 @@ const { join } = require('path');
module.exports = {
cacheDirectory: join(__dirname, '.cache', 'puppeteer'),
};
// [END monitoring_synthetic_monitoring_broken_links_puppeteer_cjs]
3 changes: 3 additions & 0 deletions samples/generic-puppeteer-nodejs/.puppeteerrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// [START monitoring_synthetic_monitoring_custom_puppeteer_cjs]
const { join } = require('path');

/**
Expand All @@ -20,3 +21,5 @@ const { join } = require('path');
module.exports = {
cacheDirectory: join(__dirname, '.cache', 'puppeteer'),
};
// [END monitoring_synthetic_monitoring_custom_puppeteer_cjs]

2 changes: 1 addition & 1 deletion samples/generic-puppeteer-nodejs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ functions.http('CustomPuppeteerSynthetic', runSyntheticHandler(async ({logger, e
await browser.close();
}));

// [START monitoring_synthetic_monitoring_custom_puppeteer_script]
// [END monitoring_synthetic_monitoring_custom_puppeteer_script]

0 comments on commit a7caa28

Please # to comment.