google-cloud-error-reporting

Setting up ERROR REPORTING for GKE

穿精又带淫゛_ 提交于 2020-01-06 21:16:47
问题 I am trying to setup Stackdriver Error Reporting for an app deployed to GKE. As I understood there are two ways of doing that: Stackdriver Logging agent and Error Reporting REST API . According to Setting up on Google Compute Engine docs If I already have a running logging agent I can reach it on localhost:24224 . It looks like there already is a logging agent for GKE: ✗ kubectl get pods --namespace=kube-system NAME READY STATUS RESTARTS AGE fluentd-cloud-logging-gke-tc-default-pool-5713124a

Google container engine logging to Stackdriver Error Reporting

和自甴很熟 提交于 2019-12-20 06:12:28
问题 I'm currently trying to log errors to Stackdriver Error Reporting from Google Container Engine. I'm using the built-in fluentd-based Stackdriver Logging agent from GKE which works great. However, when I log an error according to the specification(https://cloud.google.com/error-reporting/docs/formatting-error-messages), I do not see it appear in Stackdriver Error Reporting The payload I see in Stackdriver Logging is { insertId: "xatjb4fltv246" jsonPayload: { stream: "event" message: "path was

Google container engine logging to Stackdriver Error Reporting

耗尽温柔 提交于 2019-12-02 10:20:41
I'm currently trying to log errors to Stackdriver Error Reporting from Google Container Engine. I'm using the built-in fluentd-based Stackdriver Logging agent from GKE which works great. However, when I log an error according to the specification( https://cloud.google.com/error-reporting/docs/formatting-error-messages ), I do not see it appear in Stackdriver Error Reporting The payload I see in Stackdriver Logging is { insertId: "xatjb4fltv246" jsonPayload: { stream: "event" message: "path was incorrect" environment: "production" event_type: "RAILS_ERROR" context: { path: "/2", reportLocation: