Status Update
Comments
sa...@google.com <sa...@google.com> #2
fe...@google.com <fe...@google.com> #3
fe...@google.com <fe...@google.com> #4
Hello!
Adding on behalf of a Google Cloud user further considerations and details to the original message that could help understand the value and helpfulness of those proposed changes.
ka...@google.com <ka...@google.com>
jo...@bitforge.ch <jo...@bitforge.ch> #5
gr...@trippinc.com <gr...@trippinc.com> #6
ma...@google.com <ma...@google.com> #7
Hello,
According to the
Please note that the Issue Tracker is primarily meant for reporting bugs and requesting new features. If you have any additional issues or concerns, please don’t hesitate to create a new thread on the
Thanks and Regards,
Mahaboob Subhani
Google Cloud Support
Description
This will create a public issue which anybody can view and comment on.
Please provide as much information as possible. At least, this should include a description of your issue and steps to reproduce the problem. If possible please provide a summary of what steps or workarounds you have already tried, and any docs or articles you found (un)helpful.
Problem you have encountered:
Logs Explorer UI is adding some fields as default summary fields.
For example:
function_name
for Cloud Functions orcontainer_name
for GKE Container logs.It would be tremendously helpful and would facilitate the use and readability of these logs, if Cloud Run revisions would have
resource.labels.service_name
enabled by default, to truly understand from which Run iteration those logs come from.What you expected to happen:
This feature would add
resource.labels.service_name
to the default log query results pane and not require user to create a saved query or Edit Summary.Steps to reproduce:
The lack of functionality is there by default, anyone can see the difference, especially when compared with Cloud Functions that serves similar purpose comparing Cloud Functions default summary fields against what is available in Cloud Run explains the Feature Request on its own.
Additionally, the current custom summary fields are not sticky across session or users, which it only adds the added effort having to manually input the custom field each time someone wishes to have that visibility over the origin of the logs.
[1]https://cloud.google.com/logging/docs/view/logs-explorer-interface#query-results .
You can add summary fields to your results, which appear as chips at the beginning of each log entry line. For example, the following image shows query results with the summary field resource.type added to each log entry line: