Skip to content

Support Cloud Run Monitored Resource #71

@meltsufin

Description

@meltsufin

Is your feature request related to a problem? Please describe.

Spring Cloud GCP Logging does not work with Cloud Run. The logs end up in the "Global" channel rather than the one for Cloud Run.

Describe the solution you'd like

The Cloud Run resource type cloud_run_revision should be automatically assigned to the log entries, similarly to how it's done for App Engine. See: MonitoredResourceUtil.

Describe alternatives you've considered

Using JSON-based logging on Cloud Run. It works better but has other issues like not supporting TRACE and WARN levels.

Additional context

Repro: https://github.com/meltsufin/cloud-run-helloworld

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/java-logging API.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