-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Labels
api: loggingIssues related to the googleapis/java-logging API.Issues related to the googleapis/java-logging API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
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.Issues related to the googleapis/java-logging API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.