Skip to content

Commit

Permalink
add logpet as datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
emaele committed Sep 23, 2021
1 parent 4b23a74 commit ff08451
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datadog.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ func (l *StandardLogger) startLogRoutineListener() {
newLog.Level = logElem.Level
newLog.Time = time.Now()

newLog.Data["ddsource"] = "logpet"

for key, value := range logElem.CustomFields {
newLog.Data[key] = value
}
Expand Down

0 comments on commit ff08451

Please sign in to comment.