Skip to content

Commit

Permalink
New samples for Cloud Functions docs (#132)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
jmdobry authored and Ace Nassri committed Nov 10, 2022
1 parent 45bda51 commit 90fc988
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion monitoring/snippets/create_custom_metric.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ CustomMetrics.prototype.writeTimeSeriesForCustomMetric =
resource: {
timeSeries: [{
metric: {
type: this.metricType
type: this.metricType,
labels: {
environment: 'production'
}
},
resource: {
type: 'gce_instance',
Expand Down

0 comments on commit 90fc988

Please sign in to comment.