wcld icon indicating copy to clipboard operation
wcld copied to clipboard

include "source" and "process"?

Open mmcgrana opened this issue 13 years ago • 0 comments

Current the data inserted into Postgres by wcld does not include the "source" and "process" of the originating events. For example, for the following event:

2012-03-24T23:40:01+00:00 app[checkb.2]: app=andvari deploy=production ns=check stack=bamboo check_id=2e09926a-b62e-4a33-8ef1-533003594a78 run at=finish elapsed=25.820

We'll have the following in the database:

 id |          time          |                                                   data                                                                                                          
----+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------
  2 | 2012-03-24 23:40:01+00 | "app"=>"andvari", "stack" => "bamboo", "check_id" => "e09926a-b62e-4a33-8ef1-533003594a78", "run" => "true", "at"=>"finish", "elapsed"=>"25.820"

What do you think about including the source and process data (e.g. "app" and "checkb.1") somewhere in the persisted events, either in first-class fields or as additional fields in the hstore data?

mmcgrana avatar Mar 24 '12 23:03 mmcgrana