Permalink
Commits on Jul 29, 2014
  1. Merge pull request #12 from mmcardle/master

    pandemicsyn committed Jul 29, 2014
    Add syslog support on OSX
  2. Add syslog support on OSX

    mmcardle committed Jul 29, 2014
Commits on Jul 28, 2014
  1. Merge pull request #11 from mmcardle/master

    pandemicsyn committed Jul 28, 2014
    Fix pickle_payload to append pickled data
  2. statsd - add pid configuration

    mmcardle committed Jul 28, 2014
Commits on Jul 25, 2014
Commits on Jun 21, 2014
  1. Merge pull request #10 from elreydetodo/issue-9

    pandemicsyn committed Jun 21, 2014
    ISSUE 9: Update init script paths to reflect documentation
  2. ISSUE 9: Update init script paths to reflect documentation

    elreydetodo committed Jun 21, 2014
    The init script and the README disagreed on where the configs were
    supposed to be found. This patch corrects the init script.
Commits on Mar 1, 2014
  1. Merge pull request #7 from pandemicsyn/fix-crashes

    pandemicsyn committed Mar 1, 2014
    Resilliency changes/fixes, and clear timers fix
  2. Resilliency changes/fixes, and clear timers fix

    pandemicsyn committed Mar 1, 2014
    - Fixes a bug introduced in 7f502e8
      that failed to clear timer counters when metrics where reported via
      the plain graphite protocol.
    - Makes sure eventlet timeouts during reporting to graphite are actually
      caught, retried, and that the socket is cleaned up.
    - wrap decode_recv and stats flush in bare excepts to let both
      continue on incase of unexpected errors that didn't inherit from
      Exception.
    
    should help trackdown or fix issue #6
Commits on Jul 11, 2013
  1. Create LICENSE

    pandemicsyn committed Jul 11, 2013
Commits on Mar 16, 2013
  1. Version Bump

    pandemicsyn committed Mar 16, 2013
  2. Default to legacy namespace

    pandemicsyn committed Mar 16, 2013
    - Default to legacy namespacing incase people blindly upgrade (at least
      for now).
  3. Merge pull request #4 from gmr/namespace_change

    pandemicsyn committed Mar 16, 2013
    Update to add prefix configuration options like statsd
Commits on Mar 13, 2013
  1. Update to add prefix configuration options like statsd

    Gavin M. Roy committed Mar 13, 2013
    - Add the same options but underscore delimited instead of camelCase, where supported
      - legacy_namespace
      - global_prefix
      - prefix_counter
      - prefix_timer
      - prefix_gauge
    - Default to new namespace structure as defined by https://github.com/etsy/statsd/blob/master/docs/namespacing.md
    - Minor refactors to minimize code or reduce operations
    - Add a few debug checks for print output
Commits on Feb 13, 2013
Commits on Dec 12, 2012
  1. Make sure the daemon actually stops

    pandemicsyn committed Dec 12, 2012
    - It helps if you actually kill the pid.
Commits on Aug 23, 2012
  1. Merge pull request #2 from swiftstack/better-foreground

    pandemicsyn committed Aug 23, 2012
    Better foreground
  2. Merge branch 'better-foreground' of github.com:swiftstack/statsdpy in…

    dbishop committed Aug 23, 2012
    …to better-foreground
    
    Conflicts:
    	statsdpy/statsd.py
  3. Better foreground logging (printing).

    dbishop committed Aug 23, 2012
    When run in the foreground, you'll see printed messages.  For non-errors
    receiving metrics, you'll still see one line printed per metric received,
    but it will include the metric value parts as well.
    
    If there's an error on metric receipt, you'll see that as well (without having
    to enable "debug" in the config file.  This is in the spirit of seeing some
    output printed regardless of the "debug" value in the config.  Plus, this way
    you won't miss StatsD packet decoding errors (which should be rare) if you
    ran the daemon with "-f" but didn't have debugging enabled.
    
    Sample foreground output from running genevent.py:
    
    Running in foreground.
    got key: comb_testitem ['1', 'c']
    got key: ctest2 ['4', 'c']
    got key: ctimertest1 ['200', 'ms']
    got key: ctestitem1 ['1', 'c', '@0.5']
    got key: gtest ['100', 'g']
    got key: gtest ['99', 'g']
    got key: testitem ['1', 'c']
    got key: testitem ['1', 'c', '@0.5']
    got key: timertest ['300', 'ms']
    got key: timertest ['400', 'ms']
    got key: timertest ['500', 'ms']
    error: invalid request [.]
    error: invalid request [ ]
    error (): not enough fields received
    got key: _ [' ', 'c']
    error: unsupported stats type
    key -> baditem
    fields ->['1', 'k']
    got key: baditem ['1', 'c', '@']
    got key: baditem ['1', 'c', '@wtf']
    got key: baditem ['1', 'c', '@05f.6']
    got key: badtimer ['5.0f', 'ms']
    got key: badgauge ['K', 'g']
    error: invalid request [te$t_key !fix{\)\/?@#%th'is^&*be"ok]
    got key: gtest ['99', 'g']
    ...
  4. Better foreground logging (printing).

    dbishop committed Aug 23, 2012
    When run in the foreground, you'll see printed messages.  For non-errors
    receiving metrics, you'll still see one line printed per metric received,
    but it will include the metric value parts as well.
    
    If there's an error on metric receipt, you'll see that as well (without having
    to enable "debug" in the config file.  This is in the spirit of seeing some
    output printed regardless of the "debug" value in the config.  Plus, this way
    you won't miss StatsD packet decoding errors (which should be rare) if you
    ran the daemon with "-f" but didn't have debugging enabled.
Commits on Jul 15, 2012
  1. v0.0.9

    pandemicsyn committed Jul 15, 2012
  2. pickle protocol support doc cleanup

    pandemicsyn committed Jul 15, 2012
    clean up docs after adding pickle protocol support
  3. Add support for pickle protocol reporting

    pandemicsyn committed Jul 15, 2012
    Adds support to enable reporting to graphite via the pickle protocol.
Commits on Jul 13, 2012
  1. fix gauge reset after report

    pandemicsyn committed Jul 13, 2012
  2. tag 0.0.7

    pandemicsyn committed Jul 13, 2012
  3. Gauge should only report the current value

    pandemicsyn committed Jul 13, 2012
    Need to write some proper unit tests.
  4. Remove strike through

    pandemicsyn committed Jul 13, 2012
  5. Add gauge type & etsy style combined events

    pandemicsyn committed Jul 13, 2012
    - Add's support for the gauge event type.
    - Enables combined events (multiple events per packet) always
    - Switches to the etsy style of seperating combined events with a
      newline rather than a "#".
    - pep8 1.3.1/pylint cleanup
    - Includes a basic init script
    - Fixup setup.py for pypi distribution
Commits on Feb 5, 2012
  1. add timers total.

    pandemicsyn committed Feb 5, 2012
    Now include the total value from timers on flush to graphite.
Commits on Feb 1, 2012
  1. tag v0.0.4

    pandemicsyn committed Feb 1, 2012
  2. Support multiple events per packet.

    pandemicsyn committed Feb 1, 2012
    We can now optionally process multiple events per packet. If the config
    option "combined_events" is enabled multiple metrics can be included in
    a single udp packet separated by #:
    
        pageload:320|ms#failedlogin:5|c
Commits on Jan 31, 2012
  1. v0.0.3

    pandemicsyn committed Jan 31, 2012
  2. fix timers

    pandemicsyn committed Jan 31, 2012
  3. tag 0.0.2

    pandemicsyn committed Jan 31, 2012
  4. fix typo in timer strings

    pandemicsyn committed Jan 31, 2012