Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/idoshamun/good-gcloud
Google Cloud Platform logging broadcasting for Good process monitor
https://github.com/idoshamun/good-gcloud
Last synced: 4 months ago
JSON representation
Google Cloud Platform logging broadcasting for Good process monitor
- Host: GitHub
- URL: https://github.com/idoshamun/good-gcloud
- Owner: idoshamun
- License: mit
- Created: 2016-04-25T11:16:09.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-04-17T04:43:34.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T02:54:02.784Z (4 months ago)
- Language: JavaScript
- Size: 346 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# good-gcloud
Google Cloud Platform logging broadcasting for Good process monitor[](https://travis-ci.org/elegantmonkeys/good-gcloud) [](https://greenkeeper.io/)
## Good Gcloud
Extends `Stream.Writable` and send logs to GCP Logging
### `new GoodGcloud (options)`
Creates a new `GoodGcloud` writable stream.
- `[options]` - optional options. Defaults to `{ gcloud: { projectId: process.env.GAE_LONG_APP_ID }, log : { name: "app", resource: { type: "gce_instance", labels: { zone: "global", instance_id: "hapijs-server"}}}}`
- `gcloud` - object to initialize gcloud api. [Read more](https://googlecloudplatform.github.io/gcloud-node/#/docs/v0.31.0/gcloud)
- `log` - log options
- `name` - log name in GCP Logging. [Read more](https://googlecloudplatform.github.io/gcloud-node/#/docs/v0.31.0/logging?method=log)
- `resource` - GCP monitored resource. [Read more](https://googlecloudplatform.github.io/gcloud-node/#/docs/v0.31.0/logging/entry)