Skip to content

Logging: How to change BundleOptions #454

@ofrobots

Description

@ofrobots

From @FalconerTC on November 9, 2017 22:28

I hit a quota limit for Stackdriver ingestion requests recently, which is 1000 / second. I found this happened because I have a distributed service that was not bundling well because the GoogleCloud logging config sends logs every 50ms, per source here. This seems like an odd value to me, considering it only allows a maximum of 50 servers to be logging per project. I see this is defined as the GAX setting BundleOptions but the only GAX options that can be configured are CallOptions, per the @google-cloud/logging documentation.

Is there a way to change any of these options for the Bunyan logger? If not, do you have other recommendations to better batch logging requests in highly-distributed setups? Thanks!

Copied from original issue: googleapis/nodejs-logging-bunyan#13

Metadata

Metadata

Labels

api: loggingIssues related to the Cloud Logging API.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions