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: 9 days 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-17T04:43:34.000Z (over 1 year ago)
- Last Synced: 2024-10-12T02:54:02.784Z (25 days 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[![Build status](https://travis-ci.org/elegantmonkeys/good-gcloud.svg?branch=master)](https://travis-ci.org/elegantmonkeys/good-gcloud) [![Greenkeeper badge](https://badges.greenkeeper.io/elegantmonkeys/good-gcloud.svg)](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)