-
Notifications
You must be signed in to change notification settings - Fork 655
automatic batching interface for cloud logging client #1296
Copy link
Copy link
Closed
Labels
api: loggingIssues related to the Cloud Logging API.Issues related to the Cloud Logging API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.
Description
The logging API support batching mode manually, where you can put multiple entry in the log.write()
log.write([entry, secondEntry]);
Is that possible to implement an batching interface to support this automatically?
for example:
log.add(entry);
...
log.add(another_entry);
In the background, logging client does periodic flush internally sending all buffered logs to cloud logging automatically. The flush is triggered when enough entries are buffered and/or at a fixed interval.
This would make the API better performance wise by making less APIs calls to cloud logging?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: loggingIssues related to the Cloud Logging API.Issues related to the Cloud Logging API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.