GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — samples: migrate code from googleapis/nodejs-monitoring by ahrarmonsur · Pull Request #2807 · GoogleCloudPlatform/nodejs-docs-samples

Conversation

@ahrarmonsur

@ahrarmonsur ahrarmonsur commented Nov 8, 2022

Copy link
Copy Markdown
Contributor
  • Add Monitoring v3 Samples
  • Fix metric filter call
  • Update README.md
  • Add Monitoring Tests
  • Switched from JSHint to Semistandard and upgraded dependencies.
  • Re-organized readme files.
  • Fixed mismatched links.
  • New samples for Cloud Functions docs (New samples for Cloud Functions docs #132)
  • Refactored tests (Refactored tests #159)
    • Refactored Pub/Sub samples into nice command-line programs, like the new Cloud Storage samples (Pubsub tests #164)
  • Remove output only fields (Remove output only fields #170)
  • Stackdriver product rename (Stackdriver product rename #209)
  • Refactor Cloud Functions samples. (Functions #245)
  • Update storage samples. (Update storage samples. #263)
  • Switch from Mocha to Ava for faster tests (Switch from Mocha to Ava for faster tests #289)
  • Switch to Yarn for CI build. (Add yarn.lock files, use Yarn during CI build #290)
  • Vision snippets. (Vision snippets. #294)
  • Add region tags for writing timeseries (Add region tags for writing timeseries #298)
  • Add new Monitoring snippets. (Monitoring #301)
  • Update dependencies.
  • Travis: fix failing tests + update dependencies (Travis: fix failing tests + update dependencies #335)
  • Cleanup App Engine samples and re-work tests. (Cleanup App Engine samples. #354)
  • Upgrade to repo tools v1.4.7 (Upgrade to repo tools v1.4.7 #370)
  • Upgrade repo tools and regenerate READMEs. (Upgrade repo tools and regenerate READMEs. #384)
  • Upgrade repo tools and regenerate READMEs.
  • Add + run dependency updating (bash) script (Add + run dependency updating (bash) script #401)
  • Build updates. (Build updates. #462)
  • Update dependencies (Update dependencies #468)
  • Update Monitoring samples. (Update Monitoring samples. #493)
  • Add Uptime Check Config API samples.
  • Add Uptime Check Service, Migrate Repository (Add linting. #2)
  • Pin monitoring version for samples. (pr/5 #6)
  • Make samples tests permissive of lack of data. (fix jshint ignore rules, add run script #7)
  • Fix docs, upgrade tools, and regenerate. (Add appengine/meteor sample #9)
  • Upgrade repo-tools and regenerate scaffolding. (Add sample for using memcached for connect session state #14)
  • Upgrade repo-tools and regenerate scaffolding. (Cleaned up memcached example and added tests. #26)
  • chore: make samples depend on the current version (Getting datastore tests running on CI. #30)
  • chore: revert version back, was bumped by mistake (Delete all created Task entities after tests run #35)
  • Fixes Added readme for datastore samples #29 (Cleaned up some indentation and logging. #34)
  • chore: bump version to 0.5.0 (Add webpack sample #38)
  • chore: lock files maintenance (Added webpack sample. Closes #38. #39)
  • Add Alerting samples. (Updated readmes to take webpack into account. #41)
  • Fix region tags. (Added Bower sample. Closes #24. #42)
  • Fixes Rename to mongodb and update readme. #43. (Skip node_modules for better deployments. #44)
  • test: add resource type filter to alerts test (Change 'sampletask' to 'sampleTask' for consistency #46)
  • chore: lock files maintenance (Added sendgrid example app. Also used for Compute Engine snippet. #45)
  • test: fix uptime sample test (Datastore: Use new Key object to easily reference parts of a key path #48)
  • chore: lock files maintenance (Update README.md #51)
  • chore: update sample lockfiles (Added Parse-server example. #60)
  • refactor: drop repo-tool as an exec wrapper (Datastore / CloudSQL samples should only store first two octtets of IP #61)
  • fix(deps): update dependency yargs to v12 (Cloud Functions samples. #65)
  • chore(deps): update dependency sinon to v6 (Wrong Port #64)
  • fix: re-generate some lock files (Added Datastore error sample. #66)
  • chore(deps): lock file maintenance (Google Cloud Functions - Node.js Version #67)
  • chore(deps): lock file maintenance (Error [13] Timed out when starting VMs #69)
  • chore(deps): lock file maintenance (Env vars are parsed from app.yaml on local run. Added SERVER_URL to app.yaml #70)
  • chore(deps): lock file maintenance (memcache env vars #71)
  • chore(deps): lock file maintenance (Rename memcache env vars. Fixes #71. #74)
  • chore(deps): lock file maintenance (Received an error with invalid JSON from Parse: Cannot POST /classes/_User\n #75)
  • chore(deps): lock file maintenance (Cannot deploy my app to App Engine after Installing Parse Dashboard #79)
  • chore(deps): lock file maintenance (Add tests for monitoring samples #83)
  • chore: require node 8 for samples (Add instructions on how to use http2 with node.js enabled appengine #86)
  • chore(deps): lock file maintenance (Update README.md #87)
  • chore(deps): lock file maintenance (BigQuery samples. #91)
  • chore: ignore package-lock.json (Container Engine hello world sample #93)
  • test: add sample for updating an uptime check (Add region tags to GKE Dockerfile. #95)
  • fix(deps): update dependency @google-cloud/monitoring to ^0.6.0 (Add endpoints v2 sample #104)
  • Enable prefer-const in the eslint config (Use correct memcache environment variable. Fixes #123 #124)
  • Fix failing sample tests (memcache samples should use right env vars #126)
  • chore(deps): update dependency sinon to v7 (Changed helloworld to camel case #133)
  • refactor: remove unused deps
  • chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 (I have issue to add the json key file  #158)
  • docs(samples): convert samples to async/await, and use mocha for tests (Switch Speech sample to v1beta1 #146)
  • test: fix failing tests due to leaks (App Engine and Cloud SQL - connection lost issue #163)
  • chore: add samples for channel notification (Organize samples by product group. #185)
  • chore: fix region tags (Refactor old BigQuery samples and add new ones. #187)
  • chore: fix name of region tag (Add style section to CONTRIBUTING.md. #188)
  • refactor: modernize and fix the sample tests (Use stub instead of anonymous function. #193)
  • Release v0.7.0 (Slight refactor of logging samples. #199)
  • fix(deps): update dependency yargs to v13 (gcloud app logs read ERROR: gcloud crashed (ValueError): time data does not match format #213)
  • chore(deps): update dependency mocha to v6 (Upgrade Speech samples. #217)
  • chore(deps): update dependency p-retry to v4 (bigquery/tables code create table is broken #223)
  • Release v0.7.1 (Simplify Storage samples and their tests. #225)
  • refactor: use execSync for tests (Does transaction.get guarantees the same order as the keys? #234)
  • chore: release 1.0.0 (Fix multer options #256)
  • chore: release 1.1.0 (Enable auto table creation in Google Cloud Functions SendGrid tutorial #266)
  • feat: add .repo-metadata for README generation (Update storage samples. #263)
  • chore: release 1.2.0 (Replaced 'swagger.yaml' with openapi.yaml. Refer to b/32670418. #267)
  • chore: release 1.2.1 (Botkit-based NL API bot #270)
  • chore: release 1.2.2 (Add Premium translation sample. #274)
  • chore: release 1.2.3 (security in openapi.yaml now needs to be under the method #282)
  • fix(deps): update dependency yargs to v14
  • chore: release 1.3.0 (Add yarn.lock files, use Yarn during CI build #290)
  • fix: update sample for enabling or disabling a policy (Update the uuid sample for cross-product consistency #305)
  • chore: release 1.5.0 (Remove bogus .value after calling toJSON() #314)
  • chore: release 1.6.0 (Endpoints gRPC samples #330)
  • fix(deps): update dependency yargs to v15 (Please update Endpoints sample to use case sensitive routing #333)
  • chore: update license headers
  • chore: release 1.6.1 (Updated the version of spanner library #334)
  • docs: update jsdoc license/samples-README (Update translate dependency #340)
  • refactor: use explicit mocha imports (sampleRate is not a field: undefined #343)
  • chore: release 1.7.0 (Update yarn in circle.yml #344)
  • chore(deps): update dependency mocha to v7 (Update openApi config to use "security" instead of "x-security". #347)
  • feat!: monitoring convert to typescript (Split analyze.js into two separate samples #360)
  • chore(deps): update dependency uuid to v7
  • test: add log to debug tests (Upgrade repo tools and regenerate READMEs. #384)
  • test: add sample test debugging (can not connect google @ google-cloud / storage to the project. #385)
  • chore: add debugging info (Initial commit of sample #394)
  • feat!: drop node8 support, support for async iterators (Add postgres samples #396)
  • refactor(test): use exponential backoff and retry some integration tests (Add basic auth samples. #402)
  • test: handle a couple more flaky tests (Speech api limits and not showing the transcript that I have spoke on command prompt #405)
  • test: configure more tests with retries (Stackdriver samples #407)
  • test: sometimes there are no metrics from 10 minutes ago (Client GRPC deadline too short #411)
  • feat: Update public client library for Cloud Monitoring to introduce new Uptime check feature. Uptime HTTP(S) checks can now be GET or POST (speechClient.recognize() giving empty array as response? #425)
  • chore(deps): update dependency uuid to v8 (Add (missing) sample parameter values #428)
  • chore: release 2.0.0 (Fixes typo #377)
  • chore: release 2.1.0 (Add DLP image redaction sample (Take 2) #441)
  • chore(deps): update dependency mocha to v8 (Update dependencies + fix a few tests #448)
  • chore: release 2.1.1 (speech sample should print out all results #465)
  • fix(deps): update dependency yargs to v16 (Added example with eventual read consistency in Node.js #480)
  • chore: release 2.1.2 (Split Cloud SQL sample into two samples. #481)
  • chore: release 2.1.3 (Lowercase headers for HTTP/2 and improved logging #498)
  • chore: release 2.1.4 (Add cache control header and update existing headers to be lowercase. #502)
  • fix: update alert policies one at a time because (concurrent updates are not supported) (TypeError: config.TO_LANG.map is not a function (help) #507)
  • chore: release 2.1.5 (Error: Not Found (help) #509)
  • chore: release 2.2.0 (Remove compute samples which have moved. #514)
  • chore: release 2.3.0 (Update README.md to include region #524)
  • chore: release 2.3.1 (Move bigquery and vision samples. #535)
  • chore: release 2.3.2 (Add functions sample tests #553)
  • chore: release 2.3.3 (Updated region tags for docs: pull and acknowledge #559)
  • samples: use modern samples layout (Update arg format in readme from snake-case to camelCase #556)
  • chore: remove duplicate alert samples (Update index.js #568)
  • chore: release 2.3.4 (Adds examples showing project, region, and credentials.json path #571)
  • chore: split metrics samples (Determine what's causing test failures in functions #572)
  • fix(build): update branch to main (Comment URL points to 404 #574)
  • chore: release 2.3.5 (Update the Cloud Functions Imagemagick Sample #575)
  • build!: update library to use Node 12 (Update server.js #617)
  • chore(main): release 3.0.0 (Add handler section to app.yaml #618)
  • chore(main): release 3.0.1 (puppeteer sample (Headless Chrome) #625)
  • chore(deps): update dependency uuid to v9 (Extract/re-work samples from "Execution environment" page #629)
  • chore(main): release 3.0.2 (Tweak HTTP sample comments #628)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ahrarmonsur
ahrarmonsur requested a review from a team as a code owner November 8, 2022 15:10
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Nov 8, 2022
@snippet-bot

snippet-bot Bot commented Nov 8, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 28 region tags.
  • monitoring/snippets/alerts.backupPolicies.js:18, tag monitoring_alert_backup_policies
  • monitoring/snippets/alerts.deleteChannels.js:18, tag monitoring_alert_delete_channel
  • monitoring/snippets/alerts.deleteChannels.js:19, tag monitoring_alert_list_channels
  • monitoring/snippets/alerts.enablePolicies.js:20, tag monitoring_alert_enable_policies
  • monitoring/snippets/alerts.listPolicies.js:18, tag monitoring_alert_list_policies
  • monitoring/snippets/alerts.replaceChannels.js:18, tag monitoring_alert_replace_channels
  • monitoring/snippets/alerts.replaceChannels.js:19, tag monitoring_alert_enable_channel
  • monitoring/snippets/alerts.replaceChannels.js:20, tag monitoring_alert_update_channel
  • monitoring/snippets/alerts.replaceChannels.js:21, tag monitoring_alert_create_channel
  • monitoring/snippets/alerts.restorePolicies.js:18, tag monitoring_alert_restore_policies
  • monitoring/snippets/alerts.restorePolicies.js:19, tag monitoring_alert_create_policy
  • monitoring/snippets/metrics.createDescriptor.js:23, tag monitoring_create_metric
  • monitoring/snippets/metrics.deleteDescriptor.js:23, tag monitoring_delete_metric
  • monitoring/snippets/metrics.getDescriptor.js:23, tag monitoring_get_descriptor
  • monitoring/snippets/metrics.getMonitoredResourceDescriptor.js:22, tag monitoring_get_resource
  • monitoring/snippets/metrics.listDescriptors.js:22, tag monitoring_list_descriptors
  • monitoring/snippets/metrics.listMonitoredResourceDescriptors.js:22, tag monitoring_list_resources
  • monitoring/snippets/metrics.readTimeSeriesAggregate.js:23, tag monitoring_read_timeseries_align
  • monitoring/snippets/metrics.readTimeSeriesData.js:23, tag monitoring_read_timeseries_simple
  • monitoring/snippets/metrics.readTimeSeriesFields.js:23, tag monitoring_read_timeseries_fields
  • monitoring/snippets/metrics.readTimeSeriesReduce.js:23, tag monitoring_read_timeseries_reduce
  • monitoring/snippets/metrics.writeTimeSeriesData.js:23, tag monitoring_write_timeseries
  • monitoring/snippets/uptime.js:26, tag monitoring_uptime_check_create
  • monitoring/snippets/uptime.js:88, tag monitoring_uptime_check_list_configs
  • monitoring/snippets/uptime.js:130, tag monitoring_uptime_check_list_ips
  • monitoring/snippets/uptime.js:151, tag monitoring_uptime_check_get
  • monitoring/snippets/uptime.js:194, tag monitoring_uptime_check_delete
  • monitoring/snippets/uptime.js:227, tag monitoring_uptime_check_update

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla

google-cla Bot commented Nov 8, 2022

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kweinmeister

kweinmeister commented Nov 8, 2022

Copy link
Copy Markdown
Collaborator

A new CI workflow should be created so that we have tests. The short version of the steps are:

  1. Add an entry in .github/workflows/workflows.json for this directory
  2. Generate a new workflow file
  3. Add just the generated monitoring workflow to the PR

More details here

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ahrarmonsur
ahrarmonsur requested a review from a team as a code owner November 8, 2022 20:32
NimJay
NimJay reviewed Nov 8, 2022
View reviewed changes
Comment thread monitoring/snippets/README.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

ace-n
ace-n suggested changes Nov 8, 2022
View reviewed changes

@ace-n ace-n left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we update the repo-root CODEOWNERS?


Also, the tests are failing with this error:

The file at /home/runner/work/nodejs-docs-samples/nodejs-docs-samples/gha-creds-e17867bdf4cb7402.json does not exist, or it is not a file. ENOENT: no such file or directory, lstat '/home/runner/work/nodejs-docs-samples/nodejs-docs-samples/gha-creds-e17867bdf4cb7402.json'

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
ace-n
ace-n reviewed Nov 9, 2022
View reviewed changes
Comment thread .github/workflows/monitoring-snippets.yaml Resolved

Uh oh!

There was an error while loading. Please reload this page.

@ahrarmonsur

ahrarmonsur commented Nov 9, 2022

Copy link
Copy Markdown
Contributor Author

@ace-n Thanks for the suggestion for updating CODEOWNERS:

I updated the reviewer groups for monitoring based on this ownership sheet:
go/dee-monorepo-migration-tracker

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ahrarmonsur
ahrarmonsur requested review from NimJay and ace-n November 9, 2022 16:44
NimJay
NimJay reviewed Nov 9, 2022
View reviewed changes
Comment thread monitoring/snippets/package.json Resolved

Uh oh!

There was an error while loading. Please reload this page.

NimJay
NimJay approved these changes Nov 9, 2022
View reviewed changes

@NimJay NimJay left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good to me.
My other comments are all "nits" so feel free to ignore.
But of course, let's see what nodejs-samples-reviewers will find.

Thank you, Ahrar!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
sofisl
sofisl approved these changes Nov 9, 2022
View reviewed changes
Bill Prin and others added 15 commits November 9, 2022 16:29
Bill Prin Ace Nassri
Add Monitoring v3 Samples
f72c911
Note: Need tests. I am working on a followup
commit to this and should have it by EOD.
Bill Prin Ace Nassri
Fix metric filter call
de6667d
@waprin Ace Nassri
Update README.md
139d160
Bill Prin Ace Nassri
Add Monitoring Tests
97372e2
@jmdobry Ace Nassri
Switched from JSHint to Semistandard and upgraded dependencies.
f6b13aa
@jmdobry Ace Nassri
Re-organized readme files.
51c28a0
@jmdobry Ace Nassri
Fixed mismatched links.
45bda51
@jmdobry Ace Nassri
New samples for Cloud Functions docs (#132)
90fc988
* Add HTTP Cloud Function.

* Add more GCF http samples.

* Change string

* Added promise sample.

* Add background functions tests.

* Added more GCF tests.

* Fix readme and make test work in Node 0.12

* Changed helloworld to camel case (#133)

* Changed helloworld to camel case (#134)

* Add BigQuery processing to SendGrid sample (still needs more tests).

* Add basic auth check.

* Add fix for property names

* Make fixNames method recursive.

* Changed helloworld to camel case (#136)

* Add small helloGET sample.

* Tweak some hello world samples.

* Finish sendgrid unit tests.

* Add missing readme link.

* Update comment.

* Make sure a response gets sent.

* Made requested fixes.

* Final fixes.

* Couple fixes to fix test flakiness.
@jmdobry Ace Nassri
Refactored tests (#159)
ff6b93c
* Refactor tests.

* Tweak build.

* Tweak build.

* More tests.

* Tweak build.

* Tweak build.

* Fix build.

* Fix build.

* Speed up build.

* Fix build.

* Remove extra dep.

* Investigate why 0.12 fails.

* Scripts.

* More tests.

* Upgrades

* Upgrades

* Update readme
@jmdobry Ace Nassri
* Refactored Pub/Sub samples into nice command-line programs, like th…
5dcb2d9
…e new Cloud Storage samples (#164)

* Brought Pub/Sub samples code coverage up to 98.66%
@waprin Ace Nassri
Remove output only fields (#170)
75a6693
Takashi Matsuo Ace Nassri
Stackdriver product rename (#209)
ddbe898
@jmdobry Ace Nassri
Refactor Cloud Functions samples. (#245)
c2a1f81
@jmdobry Ace Nassri
Update storage samples. (#263)
350056a
* Update storage samples.

* Update dependencies.
@jmdobry Ace Nassri
Switch from Mocha to Ava for faster tests (#289)
f5869a0
* Switch from Mocha to Ava

* Concurrency: 5
release-please Bot and others added 21 commits November 9, 2022 16:29
@release-please Ace Nassri
chore: release 2.2.0 (#514)
322de41
🤖 I have created a release \*beep\* \*boop\* 
---
## [2.2.0](https://www.github.com/googleapis/nodejs-monitoring/compare/v2.1.5...v2.2.0) (2021-01-09)


### Features

* adds style enumeration ([#513](https://www.github.com/googleapis/nodejs-monitoring/issues/513)) ([2ca2169](https://www.github.com/googleapis/nodejs-monitoring/commit/2ca2169553c90a588cc8c7374d4790da3bf122f2))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please Ace Nassri
chore: release 2.3.0 (#524)
f800984
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@release-please Ace Nassri
chore: release 2.3.1 (#535)
81da98f
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@release-please Ace Nassri
chore: release 2.3.2 (#553)
429bd34
🤖 I have created a release \*beep\* \*boop\*
---
### [2.3.2](https://www.github.com/googleapis/nodejs-monitoring/compare/v2.3.1...v2.3.2) (2021-06-29)


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#552](https://www.github.com/googleapis/nodejs-monitoring/issues/552)) ([43c9ddd](https://www.github.com/googleapis/nodejs-monitoring/commit/43c9dddbd75668da5e7c0b2608346e8f04402e7e))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please Ace Nassri
chore: release 2.3.3 (#559)
d6eb750
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@JustinBeckwith @gcf-owl-bot Ace Nassri
samples: use modern samples layout (#556)
ea969b1
* samples: use modern samples layout

* fix a bunch of problems

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@JustinBeckwith Ace Nassri
chore: remove duplicate alert samples (#568)
12ed444
@release-please Ace Nassri
chore: release 2.3.4 (#571)
d2af0cc
🤖 I have created a release \*beep\* \*boop\*
---
### [2.3.4](https://www.github.com/googleapis/nodejs-monitoring/compare/v2.3.3...v2.3.4) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#570](https://www.github.com/googleapis/nodejs-monitoring/issues/570)) ([368febb](https://www.github.com/googleapis/nodejs-monitoring/commit/368febba05606ccb71cdee0efc75255acac7d75d))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@JustinBeckwith Ace Nassri
chore: split metrics samples (#572)
2fa61f0
Benjamin E. Coe Ace Nassri
fix(build): update branch to main (#574)
b69e84c
@release-please Ace Nassri
chore: release 2.3.5 (#575)
c648052
🤖 I have created a release \*beep\* \*boop\*
---
### [2.3.5](https://www.github.com/googleapis/nodejs-monitoring/compare/v2.3.4...v2.3.5) (2021-09-08)


### Bug Fixes

* **build:** update branch to main ([#574](https://www.github.com/googleapis/nodejs-monitoring/issues/574)) ([955622f](https://www.github.com/googleapis/nodejs-monitoring/commit/955622f40583247a78301340fc172c9d42fa1354))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@sofisl @summer-ji-eng
@gcf-owl-bot Ace Nassri
build!: update library to use Node 12 (#617)
34d6133
* build!: Update library to use Node 12
Co-authored-by: Summer Ji <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@release-please Ace Nassri
chore(main): release 3.0.0 (#618)
0c13388
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@release-please Ace Nassri
chore(main): release 3.0.1 (#625)
cba101a
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@renovate-bot Ace Nassri
chore(deps): update dependency uuid to v9 (#629)
73178fc
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [uuid](https://togithub.com/uuidjs/uuid) | [`^8.0.0` -> `^9.0.0`](https://renovatebot.com/diffs/npm/uuid/8.3.2/9.0.0) | [![age](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/compatibility-slim/8.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/confidence-slim/8.3.2)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>uuidjs/uuid</summary>

### [`v9.0.0`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#&#8203;900-httpsgithubcomuuidjsuuidcomparev832v900-2022-09-05)

[Compare Source](https://togithub.com/uuidjs/uuid/compare/v8.3.2...v9.0.0)

##### ⚠ BREAKING CHANGES

-   Drop Node.js 10.x support. This library always aims at supporting one EOLed LTS release which by this time now is 12.x which has reached EOL 30 Apr 2022.

-   Remove the minified UMD build from the package.

    Minified code is hard to audit and since this is a widely used library it seems more appropriate nowadays to optimize for auditability than to ship a legacy module format that, at best, serves educational purposes nowadays.

    For production browser use cases, users should be using a bundler. For educational purposes, today's online sandboxes like replit.com offer convenient ways to load npm modules, so the use case for UMD through repos like UNPKG or jsDelivr has largely vanished.

-   Drop IE 11 and Safari 10 support. Drop support for browsers that don't correctly implement const/let and default arguments, and no longer transpile the browser build to ES2015.

    This also removes the fallback on msCrypto instead of the crypto API.

    Browser tests are run in the first supported version of each supported browser and in the latest (as of this commit) version available on Browserstack.

##### Features

-   optimize uuid.v1 by 1.3x uuid.v4 by 4.3x (430%) ([#&#8203;597](https://togithub.com/uuidjs/uuid/issues/597)) ([3a033f6](https://togithub.com/uuidjs/uuid/commit/3a033f6bab6bb3780ece6d645b902548043280bc))
-   remove UMD build ([#&#8203;645](https://togithub.com/uuidjs/uuid/issues/645)) ([e948a0f](https://togithub.com/uuidjs/uuid/commit/e948a0f22bf22f4619b27bd913885e478e20fe6f)), closes [#&#8203;620](https://togithub.com/uuidjs/uuid/issues/620)
-   use native crypto.randomUUID when available ([#&#8203;600](https://togithub.com/uuidjs/uuid/issues/600)) ([c9e076c](https://togithub.com/uuidjs/uuid/commit/c9e076c852edad7e9a06baaa1d148cf4eda6c6c4))

##### Bug Fixes

-   add Jest/jsdom compatibility ([#&#8203;642](https://togithub.com/uuidjs/uuid/issues/642)) ([16f9c46](https://togithub.com/uuidjs/uuid/commit/16f9c469edf46f0786164cdf4dc980743984a6fd))
-   change default export to named function ([#&#8203;545](https://togithub.com/uuidjs/uuid/issues/545)) ([c57bc5a](https://togithub.com/uuidjs/uuid/commit/c57bc5a9a0653273aa639cda9177ce52efabe42a))
-   handle error when parameter is not set in v3 and v5 ([#&#8203;622](https://togithub.com/uuidjs/uuid/issues/622)) ([fcd7388](https://togithub.com/uuidjs/uuid/commit/fcd73881692d9fabb63872576ba28e30ff852091))
-   run npm audit fix ([#&#8203;644](https://togithub.com/uuidjs/uuid/issues/644)) ([04686f5](https://togithub.com/uuidjs/uuid/commit/04686f54c5fed2cfffc1b619f4970c4bb8532353))
-   upgrading from uuid3 broken link ([#&#8203;568](https://togithub.com/uuidjs/uuid/issues/568)) ([1c849da](https://togithub.com/uuidjs/uuid/commit/1c849da6e164259e72e18636726345b13a7eddd6))

##### build

-   drop Node.js 8.x from babel transpile target ([#&#8203;603](https://togithub.com/uuidjs/uuid/issues/603)) ([aa11485](https://togithub.com/uuidjs/uuid/commit/aa114858260402107ec8a1e1a825dea0a259bcb5))

-   drop support for legacy browsers (IE11, Safari 10) ([#&#8203;604](https://togithub.com/uuidjs/uuid/issues/604)) ([0f433e5](https://togithub.com/uuidjs/uuid/commit/0f433e5ec444edacd53016de67db021102f36148))

-   drop node 10.x to upgrade dev dependencies ([#&#8203;653](https://togithub.com/uuidjs/uuid/issues/653)) ([28a5712](https://togithub.com/uuidjs/uuid/commit/28a571283f8abda6b9d85e689f95b7d3ee9e282e)), closes [#&#8203;643](https://togithub.com/uuidjs/uuid/issues/643)

##### [8.3.2](https://togithub.com/uuidjs/uuid/compare/v8.3.1...v8.3.2) (2020-12-08)

##### Bug Fixes

-   lazy load getRandomValues ([#&#8203;537](https://togithub.com/uuidjs/uuid/issues/537)) ([16c8f6d](https://togithub.com/uuidjs/uuid/commit/16c8f6df2f6b09b4d6235602d6a591188320a82e)), closes [#&#8203;536](https://togithub.com/uuidjs/uuid/issues/536)

##### [8.3.1](https://togithub.com/uuidjs/uuid/compare/v8.3.0...v8.3.1) (2020-10-04)

##### Bug Fixes

-   support expo>=39.0.0 ([#&#8203;515](https://togithub.com/uuidjs/uuid/issues/515)) ([c65a0f3](https://togithub.com/uuidjs/uuid/commit/c65a0f3fa73b901959d638d1e3591dfacdbed867)), closes [#&#8203;375](https://togithub.com/uuidjs/uuid/issues/375)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 9am and before 3pm" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-monitoring).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTEuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE5MS4wIn0=-->
@release-please Ace Nassri
chore(main): release 3.0.2 (#628)
7df60e4
🤖 I have created a release *beep* *boop*
---


## [3.0.2](googleapis/nodejs-monitoring@v3.0.1...v3.0.2) (2022-09-09)


### Bug Fixes

* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-monitoring/issues/1553)) ([#627](googleapis/nodejs-monitoring#627)) ([647e8ab](googleapis/nodejs-monitoring@647e8ab))
* use google-gax v3.3.0 ([647e8ab](googleapis/nodejs-monitoring@647e8ab))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Ahrar Monsur Ace Nassri
Adds monitoring-snippets.yaml for samples migration
c7a74a4
Ahrar Monsur Ace Nassri
Adds the monitoring/snippets directory to workflows
75ff39b
Ahrar Monsur Ace Nassri
Excluding README and quickstart.js sample from migration
2539789
Ahrar Monsur Ace Nassri
Adjusts order of CI tasks to fix failing tests
4623641
@ahrarmonsur @NimJay Ace Nassri
Update Google Inc to Google LLC
7be98e2
Co-authored-by: Nim Jayawardena <[email protected]>
@ace-n
ace-n force-pushed the nodejs-monitoring-migration branch from 84d376c to 7be98e2 Compare November 10, 2022 00:29
ace-n
ace-n approved these changes Nov 10, 2022
View reviewed changes

@ace-n ace-n left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't see any changes to CODEOWNERS, but the rest LGTM.

@ahrarmonsur ping me once CODEOWNERS is taken care of, and I can admin-merge. 👍

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
bcoe
bcoe approved these changes Nov 10, 2022
View reviewed changes

@bcoe bcoe left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great 👍

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bcoe
bcoe merged commit be12932 into main Nov 10, 2022
@bcoe
bcoe deleted the nodejs-monitoring-migration branch November 10, 2022 14:02
@bcoe bcoe changed the title migrate code from googleapis/nodejs-monitoring samples: migrate code from googleapis/nodejs-monitoring Nov 10, 2022
This was referenced Nov 14, 2022
build: adding DEEPO to CODEOWNERS for monitoring/ #2845
Closed
refactor: Removes samples after migration to nodejs-docs-samples googleapis/nodejs-monitoring#660
Closed
Adds quickstart samples referenced in DevSite #2868
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@NimJay NimJay NimJay approved these changes
@sofisl sofisl sofisl approved these changes
+2 more reviewers
@bcoe bcoe bcoe approved these changes
@ace-n ace-n ace-n approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

samples Issues that are directly related to samples.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

17 participants

@ahrarmonsur @kweinmeister @bcoe @ace-n @NimJay @sofisl @waprin @jmdobry @lukesneeringer @alexander-fenster @JustinBeckwith @fhinkel @muraliQlogic @yoshi-automation @renovate-bot @summer-ji-eng @syedashrafulla
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.