ovhemert / pino-stackdriver Goto Github PK
View Code? Open in Web Editor NEWπ²A transport for pino that sends messages to Google Stackdriver Logging
License: MIT License
π²A transport for pino that sends messages to Google Stackdriver Logging
License: MIT License
12.0.0
to 12.0.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
toLogEntry
is expecting options.prefix
and options.labels
, but these are not passed to the function internally.
stackdriver.createWriteStream({ resource: '', prefix: 'hi', labels: [...] })
Should pass prefix and labels to toLogEntry
. Currently it only passes resource
and keys
.
Since all the internal functions are exposed, is possible to do this with custom code:
import {
parseJsonStream,
toLogEntryStream,
toStackdriverStream,
} from 'pino-stackdriver/src/stackdriver.js'
import Pumpify from 'pumpify'
declare type PinoStreamOptions = {
projectId: string
credentials?: string
prefix?: string
logName?: string
resource?: string
keys?: {
httpRequest?: string
trace?: string
}
}
const createWriteStream = (options: PinoStreamOptions) =>
new Pumpify(
parseJsonStream(),
toLogEntryStream(options),
toStackdriverStream(options)
)
However, it's a pain to make it work with TypeScript due to the lack of types of the internal functions.
This is rather a question, to understand if providing Typescript types are part of this module's path.
Leverage this module to be used on Typescript projects.
13.1.6
to 13.1.7
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
14.8.0
to 14.8.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
tap is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
I'd like to use pino with Stackdriver-compatible logging. In many Google Cloud environments, stdout
will appear in Stackdriver automatically, so I only need the output in the right format. This would match a major design decision behind pino: That the logging process shouldn't care about the transport.
I propose a way to use pino-stackdriver
without making calls to the Stackdriver API (for performance and separation of concerns), and without require
ing @google-cloud/logging
(for faster startup times).
12.7.3
to 12.7.4
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
1.251.0
to 1.251.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
snyk is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 2 commits.
2d19f4d
Merge pull request #879 from snyk/fix/failed-auth-messaging
79e5e47
fix: show more meaningful error message for failed auth
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
My app can't start because of type error. I'm using it with nestjs pino logger
Paste your code here:
LoggerModule.forRoot({
pinoHttp: [
{
name: 'add some name to every JSON line',
level: 'debug',
prettyPrint: false,
useLevelLabels: true,
// and all the others...
},
stackdriver.createWriteStream({
logName: 'pino-nest',
projectId: 'yosh-bot-gateway',
}),
],
}),
Just work :)
Paste the results here:
(node:28720) UnhandledPromiseRejectionWarning: TypeError: log[chunk.meta.severity] is not a function
at Writable.write [as _write] (C:\Projects\bot-gateway\node_modules\pino-stackdriver\src\stackdriver.js:84:31)
at doWrite (_stream_writable.js:415:12)
I'm trying to integrate this library into a project and although I'm seeing the logs show up with the proper levels in Stackdriver, I'm noticing that I'm missing most of the jsonPayload
key/values that I would normally expect such as hostname
, pid
, and any other items I set up from Pino's base
option. This is also true for any custom object I send for the log itself.
const stackdriver = require('pino-stackdriver');
const pino = require('pino');
const credentials = process.env.GOOGLE_APPLICATION_CREDENTIALS;
const projectId = 'xxxxx';
let writeStream;
if (credentials) {
writeStream = stackdriver.createWriteStream({
credentials,
projectId,
});
}
const logger = pino(
{
level: 'trace',
},
writeStream || process.stdout
);
const child = logger.child({ childProperty: 'property' });
child.info({ prop: 'something' }, 'PINO this is an info log from child 1!');
All I seeing in Stackdriver logs are:
{
insertId: "..........44gwuhZIKBPA_UhWeVQvNxw"
jsonPayload: {
message: "PINO this is an info log from child 1!"
}
logName: "projects/xxxxx/logs/pino_log"
receiveTimestamp: "2018-12-22T21:56:44.243763581Z"
resource: {
labels: {
project_id: "xxxxx"
}
type: "global"
}
severity: "INFO"
timestamp: "2018-12-22T21:56:41.496000051Z"
}
Notice that jsonPayload
is only showing a message
key/value. What I'm unsure of is if this is a limitation with pino-stackdriver or a configuration issue on my end.
When I view the Pino log output without writing to this stackdriver stream, I see all the key/values as expected.
{
"level": 30,
"time": 1545517082929,
"msg": "PINO this is an info log from child 1!",
"pid": 65250,
"hostname": "xxxxx",
"childProperty": "property",
"prop": "something",
"v": 1
}
When I try other logging solutions such as Bunyan with bunyan-stackdriver, all the necessary key/values get populated.
Last release on NPM is 10 months old, update on typescript types were 8 months old. Can you release a new version on NPM? @ovhemert
1.249.0
to 1.249.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
snyk is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 7 commits.
1d6c9ea
fix: resolve linting problems
306ca5d
Merge pull request #873 from snyk/fix/prettier-issue
94525a4
fix: prettier issue
21237af
Merge pull request #872 from snyk/chore/formatting
caf2683
chore: prettier format
94a49fb
Merge pull request #871 from snyk/revert-869-feat/jar-scanning
13bae9c
fix: Reverts "feat: add unmanaged jar scanning"
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
13.7.2
to 13.7.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
14.2.4
to 14.2.5
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
tap is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 7 commits.
00b41a6
14.2.5
13681dd
docs: pull description from package info, update features links
88200b3
update deps
1caf5d6
mention configuring in cli doc
abe0c77
include version in header
998c9e6
tweak features description text, remove unused content
591f241
update cli doc
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
I have everything setup correctly, secret with credentials etc. No errors are thrown but the actual logs are not showing up inside the stackdriver logging for my kubernetes containers
Steps to reproduce the behavior:
pinoms({
streams: [
{
stream: stackdriver.createWriteStream({
logName: "NAME",
projectId: "PROJECT_ID"
})
}
]
});
I want the logs to show up inside the actual container logs/kubernetes. Can this be a problem with missing labels?
12.0.12
to 12.6.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
14.10.3
to 14.10.4
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
tap is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
7.1.0
to 7.2.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@google-cloud/logging is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 18 commits.
8e30041
chore: release 7.2.0 (#694)
e703c23
fix(docs): orderby samples and documentation (#713)
56a8ed8
fix(types): write options dryRun and partialSuccess (#711) (#712)
8ccd960
docs(samples): move awaits into async scope (#693)
0239b81
fix: use logging api resource for metric (#704)
7bef48c
test: grant proper permissions to bucket destination (#706)
5acce7e
build: add GitHub actions config for unit tests
afa091c
chore(deps): update dependency linkinator to v2 (#701)
ef5fd13
test: ignore getLogs() error in cleanup (#703)
a3fb0f3
feat: add CMEK config and update grpc config logic (#700)
395a31d
fix(deps): update dependency type-fest to ^0.10.0 (#697)
a41849e
test: retry rate limit deletion errors (#699)
e911c06
test: modernize mocha config (#695)
ab93fdc
test: make less requests to avoid quota limit (#698)
4d80405
chore: skip img.shields.io in docs test
There are 18 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
13.1.9
to 13.1.10
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
tap is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 5 commits.
6dc593a
13.1.10
a9bd8f3
Apply test-regex against unix-ified paths
8e0a712
Add fastify-vhost to the 100 club
50aa89c
use git push --follow-tags instead of 2 git commands
de3882a
document t.expectUncaughtException
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
1.243.0
to 1.244.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
snyk is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 6 commits.
cdd490f
Merge pull request #858 from snyk/feat/cocoapods-ga
9b1095e
Merge pull request #859 from snyk/feat/composer-dev-require
3e5cb12
feat: Release CocoaPods test
and monitor
7af2b63
feat: composer dev require
bd24a91
Merge pull request #857 from snyk/feat/propagate-missing-deps
360e686
feat: show missing deps for old monitor too
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
5.2.2
to 5.3.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@google-cloud/logging is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 14 commits.
1bf675d
chore: release 5.3.0 (#574)
422a0ed
fix(deps): update dependency type-fest to ^0.8.0 (#578)
13ec172
chore(deps): update dependency @google-cloud/pubsub to ^0.32.0 (#577)
531b6e3
chore(deps): update dependency nock to v11 (#576)
97f3551
chore(deps): update dependency eslint-plugin-node to v10 (#572)
6a1fdfe
update .nycrc ignore rules (#575)
8cd073b
fix: add missing function overload (#573)
41ef532
feat: load protos from JSON, grpc-fallback support (#571)
7077e64
fix(deps): update dependency @opencensus/propagation-stackdriver to v0.0.17 (#569)
420c1be
docs: update link to client docs
fb9799d
chore(deps): update dependency typescript to ~3.6.0 (#567)
7b60835
fix: use correct version for x-goog-api-client header (#565)
2ec8662
fix: use process versions object for client header (#563)
ad05b6e
chore(deps): update dependency @google-cloud/pubsub to ^0.31.0 (#557)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
12.0.8
to 12.0.9
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
1.247.1
to 1.248.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
snyk is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 4 commits.
3dfbd6f
Merge pull request #864 from snyk/docs/update-python-allow-missing
386d523
feat: bump cli-interface that brings in skipUnresolved option
52b5b48
feat: pass allowMissing to ythe python plugin
9076975
docs: update python docs with allow-missing
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
5.2.1
to 5.2.2
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@google-cloud/logging is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 3 commits.
c05a006
chore: release 5.2.2 (#558)
bd8da51
fix(deps): update dependency yargs to v14
f2cd5ea
fix: add test for x-goog-api-client header (#556)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
7.4.1
to 7.4.2
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
sinon is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 18 commits.
3dd59a5
Update docs/changelog.md and set new release id in docs/_config.yml
5419db2
Add release documentation for v7.4.2
d163383
7.4.2
ad553d1
Update CHANGELOG.md and AUTHORS for new release
bbe6f5e
Upgrade nise to latest
78a676f
Update @sinonjs/samsam to latest
157b537
Restore sinon.createStubInstance() behaviour (#2073)
766cae4
Merge pull request #2076 from sinonjs/github-workflow
261c4cd
renamed step
8525f4d
trying built-in coveralls support
cf0f402
added coveralls (via npx)
88cf7a9
added code coverage
e716d8d
Upgrade eslint to latest
4e7bcef
Bump eslint-utils from 1.3.1 to 1.4.2
2b1b2df
Fix Typo in migration 6 and updated migration docs for migration from⦠(#2074)
There are 18 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
12.0.11
to 12.0.12
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Support passing credentials object parameter to Stackdriver lib instead of specifying a key file path.
Every GCP Node package, including Stackdriver, allows passing credentials in several ways:
process.env.GOOGLE_APPLICATION_CREDENTIALS
with the path to they key file.{ keyFilename: '...' }
with the path to they key file.{ credentials: { client_email: '...', private_key: '...' } }
without any key file in disk.Only the first way is supported in this library but the other ones come handy in some situations.
https://github.com/googleapis/google-auth-library-nodejs/blob/master/samples/credentials.js#L36
https://github.com/googleapis/nodejs-logging/blob/master/src/index.ts#L206
I think this is not hard to implement with backward support by just assigning the current credentials
parameter to process.env.GOOGLE_APPLICATION_CREDENTIALS
if typeof credentials === 'string'
, or passing the whole thing to Logging
constructor otherwise (and updating the .d.ts
file).
14.10.0
to 14.10.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
tap is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 4 commits ahead by 4, behind by 2.
1f18979
14.10.1
ca7d022
more consistent diffs for strings and objects
5bab844
update cli doc
eef0877
14.10.0
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
12.12.3
to 12.12.4
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
I am not sure if this is intentional, but it looks like the CLI version requires credentials while the API version does not.
I am deploying to a cloud run instance and the service account associated with the instance has the necessary permissions to write logs.
Run CLI without passing credentials or having ENV var set.
Use CLI without specifying credentials.
Before you submit an issue we recommend you first check if an existing issue does not already exist.
Please read this entire template before posting any issue. If you ignore these instructions
and post an issue here that does not follow the instructions, your issue might be closed.
I am trying to use the credentials as an object, which was added in the new release and the functionality does not appear, installing the package from npm version 2.1.1
Steps to reproduce the behavior:
npm i pino-stackdriver
be able to use the latest version with the latest changes shown on github
1.252.0
to 1.253.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
snyk is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 2 commits.
8609cdf
Merge pull request #878 from snyk/feat/support-setup-py
dec4f5a
feat: add support for setup.py
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
14.5.0
to 14.6.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
tap is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 5 commits.
940d44c
14.6.0
9c32f73
changelog for 14.5 and 14.6
e7c53bb
cli: Friendlier output for invalid option assertions
6213573
Add --no-coverage-map config
85f6e89
update cli doc
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
https://github.com/ovhemert/pino-stackdriver/blob/master/src/cli.js
It looks like CLI support only "project" and "credentials"
5.1.2
to 5.1.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@google-cloud/logging is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 3 commits.
101bdbd
chore: release 5.1.3 (#522)
971c1b6
fix(docs): link to reference docs section on googleapis.dev (#521)
268cc4e
build: switch to GitHub magic proxy, for release-please (#519)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
1.240.3
to 1.241.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
snyk is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 2 commits.
176e3e0
Merge pull request #851 from snyk/feat/update-snyk-gradle-plugin-to-latest
9be1a2c
feat: updated snyk-gradle-plugin to latest version
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
12.12.5
to 12.12.6
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
12.12.11
to 12.12.12
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
5.1.3
to 5.2.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@google-cloud/logging is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 3 commits.
26bac83
chore: release 5.2.0 (#530)
1e8c67f
feat: add path template parsing for billing, organizations, and folders (#529)
4a1883f
build: use config file for linkinator (#524)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
It currently waits a log line is uploaded and it does not perform batching but uploads one at a time.
Reference from the issue:
pinojs/pino#1064
Currently, it's near impossible to use pino-stackdriver + fastify in the production with this bug. ...
Should logger.error() events be recognized by Error Reporting? I see them show up as expected in Logging.
As per this article, it sounds like logs should automatically be captured in Error Reporting if they follow a certain format (which I think they do?), and if I am using Compute Engine (which I am)
https://cloud.google.com/error-reporting/docs/setup/compute-engine?hl=en_US
Sorry if this is a dumb question, very new to all this...Thanks!
The main guide does not work.
Steps to reproduce the behavior:
const writeStream = stackdriver.createWriteStream({ credentials, projectId })
const logger = pinoms({ streams: [writeStream] })
I got an error from TypeScript:
$ tsc --build tsconfig.json
index.ts:53:53 - error TS2741: Property 'stream' is missing in type 'WritableStream' but required in type '{ stream: WritableStream | DestinationStream; level?: "error" | "debug" | "fatal" | "warn" | "info" | "trace" | undefined; }'.
53 const logger = pinoms({ streams: [writeStream] })
When the CLI program hits a 404 response from the Google Cloud API, it does not show any error, just says "logging".
Try to log with the CLI program to a non-existing project ID.
$ ./my-program | pino-stackdriver --project bar --credentials foo.json
logging
In the Google Cloud Console I see the corresponding errors in the logging API:
However, pino-stackdriver
does not tell me about those.
The CLI program should inform me about the remote API errors so that they can be fixed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.