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.

Keep original labels like "instanceId" #1451

@JudithvW

Description

@JudithvW

Is your feature request related to a problem? Please describe.
A Cloud Run instance can handle multiple requests. Also, multiple Cloud Run instances could be running.
It is currently not visible which Cloud Run instance is logging.

Describe the solution you'd like
If I use console.log in my NodeJS application, the labels in the log will show the labels of the Cloud Run Service, as well as an "instanceId". When I use this package, those 'default' labels in the logging disappear.
I want those labels to be present, even when I add other labels.

Additional context
image
Example of default google logging (console.log), which shows the Cloud Run labels and an instanceId.

image
Example of logging with this package, which removed the original labels and only added the labels set by this package.

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/nodejs-logging API.priority: p3Desirable enhancement or 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