internal/log: write GCP-compatible logs on Cloud Run When the server detects that it is on Cloud Run, it outputs logs in a JSON format that will produce properly formatted log entries. Change-Id: Ifed944ad5916f372cac74d7e17b68f2fa32b3d04 Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/472276 Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This repository contains code that serves pkg.go.dev/metrics.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.