diff options
author | Daniel Schauenberg <d@unwiredcouch.com> | 2013-03-23 14:40:45 -0700 |
---|---|---|
committer | Daniel Schauenberg <d@unwiredcouch.com> | 2013-03-23 14:40:45 -0700 |
commit | 2520e4261be709b330c80c0074c270e3d0f3b51f (patch) | |
tree | 290977bce0e16f3a845699fb81861f6dfb2f6387 | |
parent | ee0864651fd16a2af45d43587b8d3a2b8c1bd713 (diff) | |
parent | 85409aa330ebb8c4504d2f6f5573e66dd35c5337 (diff) | |
download | logster-2520e4261be709b330c80c0074c270e3d0f3b51f.zip logster-2520e4261be709b330c80c0074c270e3d0f3b51f.tar.gz logster-2520e4261be709b330c80c0074c270e3d0f3b51f.tar.bz2 |
Merge pull request #44 from snocrossgjd/master
Adding timestamp to stdout output
-rwxr-xr-x | bin/logster | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/logster b/bin/logster index 0c76df6..d0f0952 100755 --- a/bin/logster +++ b/bin/logster @@ -167,7 +167,7 @@ def submit_stdout(metrics, options): metric.name = options.metric_prefix + options.stdout_separator + metric.name if (options.metric_suffix is not None): metric.name = metric.name + options.stdout_separator + options.metric_suffix - print "%s %s" %(metric.name, metric.value) + print "%s %s %s" %(metric.timestamp, metric.name, metric.value) def submit_ganglia(metrics, options): for metric in metrics: |