From 93e5ef3a760fa94dacc5955431058c4c81563624 Mon Sep 17 00:00:00 2001 From: Adam Ross Date: Tue, 15 Nov 2022 08:02:06 -0800 Subject: [PATCH] chore(profiler): remove samples from hand-written library --- profiler/app.js | 19 ------------------- profiler/package.json | 25 ------------------------- profiler/snippets.js | 24 ------------------------ 3 files changed, 68 deletions(-) delete mode 100644 profiler/app.js delete mode 100644 profiler/package.json delete mode 100644 profiler/snippets.js diff --git a/profiler/app.js b/profiler/app.js deleted file mode 100644 index 213e3b3e1e..0000000000 --- a/profiler/app.js +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2018 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -'use strict'; - -// [START profiler_setup_nodejs_app_engine] -require('@google-cloud/profiler').start(); -// [END profiler_setup_nodejs_app_engine] diff --git a/profiler/package.json b/profiler/package.json deleted file mode 100644 index e9c107220e..0000000000 --- a/profiler/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "cloud-profiler-samples", - "version": "0.1.0", - "private": true, - "description": "Google Cloud Profiler samples", - "main": "app.js", - "scripts": { - "test": "echo 'no test yet'" - }, - "engines": { - "node": ">=12.0.0" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/googleapis/cloud-profiler-nodejs.git" - }, - "author": "Google LLC.", - "license": "Apache-2.0", - "dependencies": { - "@google-cloud/profiler": "^5.0.3" - }, - "files": [ - "*.js" - ] -} diff --git a/profiler/snippets.js b/profiler/snippets.js deleted file mode 100644 index 4a32b1a4dc..0000000000 --- a/profiler/snippets.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2018 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -'use strict'; - -// [START profiler_setup_nodejs_compute_engine] -require('@google-cloud/profiler').start({ - serviceContext: { - service: 'your-service', - version: '1.0.0', - }, -}); -// [END profiler_setup_nodejs_compute_engine]