I'm trying to write my error log to stackdriver error reporting from a golang appengine app
Inside a goroutine i do the following
fmt.Fprintf(os.Stderr, "%s %s %s", name, kind, err.Error())
I'm seeing the error in stackdriver logging
but i don't have any alert in stackdriver error reporting, from the google documentation
Error logs written to stderr are processed automatically by Error Reporting, without needing to use the Error Reporting package for Go directly.
Do you know why my error are not being shown in error reporting ?
Logs should be properly formatted. You need to use the GCP logging library: "cloud.google.com/go/logging".
Additional details here: https://cloud.google.com/logging/docs/setup/go.