graveyard / gearcmd

Utility to create gearman workers out of command-line programs
Apache License 2.0
13 stars 0 forks source link

Added log line of type counter. Will be used for alerting. #25

Closed xavi- closed 9 years ago

xavi- commented 9 years ago

Why: The goal is to alert on worker success/failure rates. To that, we must first log the data in a convenient KayVee format. What: On infra's recommendation, the following data is stored in the following fields:

source: <something>
title: <failure, or success>
type: counter [optional]
function: <worker name eg. ps, json_processor>

Testing: Ran unit tests and manually verified that the appropriate log lines are generated.

https://clever.atlassian.net/browse/DATA-1121

azylman commented 9 years ago

lgtm!