Gathering detailed insights and metrics for @relaycorp/pino-cloud
Gathering detailed insights and metrics for @relaycorp/pino-cloud
Gathering detailed insights and metrics for @relaycorp/pino-cloud
Gathering detailed insights and metrics for @relaycorp/pino-cloud
Pino integration for cloud logging services like Google Stackdriver
npm install @relaycorp/pino-cloud
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (51.93%)
JavaScript (48.07%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
11 Stars
259 Commits
1 Watchers
7 Branches
2 Contributors
Updated on Mar 31, 2025
Latest Version
1.0.28
Package Id
@relaycorp/pino-cloud@1.0.28
Unpacked Size
14.40 kB
Size
5.08 kB
File Count
31
NPM Version
6.14.17
Node Version
14.21.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
1
This library generates Pino configuration to format log entries in such a way that they can be properly ingested by cloud logging services such as those on Google Cloud Platform (GCP).
At this point, only GCP's Cloud Logging and Error Reporting services are supported, but we'd welcome any PRs to support additional targets, such as Elastic Search or AWS CloudWatch Logs.
Releases are automatically pushed to NPM. For example, to get the latest release, run:
1npm install @relaycorp/pino-cloud
This library simply returns a configuration object for Pino, which you augment before passing to Pino. For example:
1import { getPinoOptions } from '@relaycorp/pino-cloud'; 2 3const LOGGER = pino({ 4 ...getPinoOptions(process.ENV.LOGGING_TARGET, { 5 name: 'your-app-name', 6 version: '1.0.2', 7 }), 8 level: 'debug', 9});
If the environment variable LOGGING_TARGET
is unset, an empty object is returned.
gcp
error
and fatal
logs are augmented to include Error Reporting fields, like the name and version of your app.
Additionally, if the log contains an err
field that is an instance of Error
, its stack trace will be added to the field stack_trace
-- Where Error Reporting expects to find it.
The API documentation can be found on docs.relaycorp.tech.
We love contributions! If you haven't contributed to a Relaycorp project before, please take a minute to read our guidelines first.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
5 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More