DataDog / datadog-process-agent

Datadog Process Agent
https://datadoghq.com
20 stars 9 forks source link

Use shared common log utility #277

Closed sunhay closed 5 years ago

sunhay commented 5 years ago

Dependent on this: https://github.com/DataDog/datadog-agent/pull/3060

Build failure is because our version of datadog-agent is more recent than that of the PR. It'll be fixed soon, at which point I can test :)

TEXT

2019-03-29 16:34:48 UTC | PROCESS | INFO | (pkg/config/config.go:489 in load) | config.Load()
2019-03-29 16:34:48 UTC | PROCESS | INFO | (pkg/config/config.go:494 in load) | config.load succeeded
2019-03-29 16:34:48 UTC | PROCESS | INFO | (pkg/tagger/tagger.go:82 in Init) | starting the tagging system
2019-03-29 16:34:48 UTC | PROCESS | INFO | (pkg/tagger/tagger.go:154 in tryCollectors) | docker tag collector successfully started
2019-03-29 16:34:48 UTC | PROCESS | INFO | (cmd/agent/collector.go:111 in run) | Starting process-agent for host=i-02d9dc23eb880d756, endpoints=[https://process.datad0g.com/api/v1/collector], enabled checks=[process rtprocess connections]
2019-03-29 16:34:48 UTC | PROCESS | INFO | (cmd/agent/collector.go:96 in runCheck) | Finished process check #1 in 21.340186ms
2019-03-29 16:34:48 UTC | PROCESS | INFO | (cmd/agent/collector.go:96 in runCheck) | Finished connections check #1 in 22.73079ms
2019-03-29 16:34:48 UTC | PROCESS | INFO | (cmd/agent/collector.go:241 in updateStatus) | Detected active clients, enabling real-time mode
2019-03-29 16:34:58 UTC | PROCESS | INFO | (cmd/agent/collector.go:96 in runCheck) | Finished process check #2 in 26.963047ms

JSON

{"agent":"process","time":"2019-03-29 16:32:24 UTC","level":"INFO","file":"pkg/config/config.go","line":"489","func":"load","msg":"config.Load()"}
{"agent":"process","time":"2019-03-29 16:32:24 UTC","level":"INFO","file":"pkg/config/config.go","line":"494","func":"load","msg":"config.load succeeded"}
{"agent":"process","time":"2019-03-29 16:32:24 UTC","level":"INFO","file":"pkg/tagger/tagger.go","line":"82","func":"Init","msg":"starting the tagging system"}
{"agent":"process","time":"2019-03-29 16:32:24 UTC","level":"INFO","file":"pkg/tagger/tagger.go","line":"154","func":"tryCollectors","msg":"docker tag collector successfully started"}
{"agent":"process","time":"2019-03-29 16:32:24 UTC","level":"INFO","file":"cmd/agent/collector.go","line":"111","func":"run","msg":"Starting process-agent for host=i-02d9dc23eb880d756, endpoints=[https://process.datad0g.com/api/v1/collector], enabled checks=[process rtprocess connections]"}
{"agent":"process","time":"2019-03-29 16:32:24 UTC","level":"INFO","file":"cmd/agent/collector.go","line":"96","func":"runCheck","msg":"Finished process check #1 in 53.404134ms"}
{"agent":"process","time":"2019-03-29 16:32:24 UTC","level":"INFO","file":"cmd/agent/collector.go","line":"96","func":"runCheck","msg":"Finished connections check #1 in 55.102256ms"}
{"agent":"process","time":"2019-03-29 16:32:24 UTC","level":"INFO","file":"cmd/agent/collector.go","line":"241","func":"updateStatus","msg":"Detected active clients, enabling real-time mode"}