Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Add support for partialSuccess global configuration #1358

@losalex

Description

@losalex

Is your feature request related to a problem? Please describe.
Today some requests might contain oversized log entries which cause entire write request to be dropped instead just of oversized log entries to be dropped (see log-limits for more information).
Describe the solution you'd like
The solution for this problem is to add partialSuccess flag in configuration so it can be added to each request as described in request-body. Given a fact that this library is used by other libraries, it will also give an opportunity to set partialSuccess globally.
In addition, the partialSuccess default value will be set to true in configuration, so it will provide more reliable logs generation.
Describe alternatives you've considered
Today we have a custom logic to truncate oversized log entries by setting maxEntrySize parameter. Unfortunately truncating JSON structured log entries is complex and building generic solution for reduction JSON data is hard to achieve, thus generic solution is out of scope.

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/nodejs-logging API.logging-resilienceIssues related to logging resiliencepriority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions