diff --git a/formatter.go b/formatter.go index 528992e..deda342 100644 --- a/formatter.go +++ b/formatter.go @@ -78,7 +78,7 @@ type Entry struct { Timestamp string `json:"timestamp,omitempty"` Severity severity `json:"severity,omitempty"` HTTPRequest *HTTPRequest `json:"httpRequest,omitempty"` - Trace string `json:"trace,omitempty"` + Trace string `json:"logging.googleapis.com/trace,omitempty"` ServiceContext *ServiceContext `json:"serviceContext,omitempty"` Message string `json:"message,omitempty"` Context *Context `json:"context,omitempty"` diff --git a/go.mod b/go.mod index 15fffb4..175f7ba 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/icco/logrus-stackdriver-formatter +module github.com/charleskorn/logrus-stackdriver-formatter require ( github.com/TV4/logrus-stackdriver-formatter v0.1.0