Граф коммитов

383 Коммитов

Автор SHA1 Сообщение Дата
Alexey Ivanov f145ca15e2 examples: python: renamed update_stats to counter 2012-12-24 01:51:18 +08:00
Alexey Ivanov e0f32bffa2 examples: python: sampling used only in counters 2012-12-24 01:51:18 +08:00
Alexey Ivanov 3fb77ec33d examples: python: prettify doctests 2012-12-24 01:51:18 +08:00
Alexey Ivanov e20b1a08ac examples: python: split sample and send
This will simplify testing
2012-12-24 01:51:18 +08:00
Alexey Ivanov eb9e279ebd examples: python: use .format 2012-12-24 01:51:18 +08:00
Alexey Ivanov d67b1c0abe examples: python: fixed batch update_stats()
This fixes nasty bug introduced by:
    examples: python: use isinstance() to suport inheritance

Pointy hat to: me
TODO: proper tests for update_stats
2012-12-24 01:51:18 +08:00
Alexey Ivanov 220f898c57 examples: python: added python3 support 2012-12-24 01:51:13 +08:00
Alexey Ivanov ee129e79f6 examples: python: move frequently used imports to the top 2012-12-10 05:06:55 +08:00
Alexey Ivanov f509f11311 examples: python: whitespacing 2012-12-10 05:06:37 +08:00
Alexey Ivanov 121625e3d7 exmaples: python: unbreak doctests 2012-12-10 05:06:36 +08:00
Alexey Ivanov 0191e95a43 examples: python: use isinstance() to suport inheritance 2012-12-10 05:06:36 +08:00
Alexey Ivanov a5c6a78244 examples: python: simplifications 2012-12-10 05:06:36 +08:00
Alexey Ivanov 30292229fe examples: python: StatsdClient.send() returns outcome
It's useful but unused.
2012-12-10 05:06:36 +08:00
Alexey Ivanov 9b5fd681d4 examples: python: more useful errors 2012-12-10 05:06:36 +08:00
Alexey Ivanov b861a9e0e4 examples: python: do not catch BaseExceptions 2012-12-10 05:06:36 +08:00
Alexey Ivanov 2c09c3b8ea examples: python: print exceptio to stderr 2012-12-10 05:06:36 +08:00
Alexey Ivanov 798a7f72a7 examples: python: host and port are not used 2012-12-10 05:06:36 +08:00
Alexey Ivanov ef03f8f054 examples: python: remove local_settings.py overrides
It's rather strange to override parameters passed to __init__ via custom
settings file.
2012-12-10 05:06:36 +08:00
Alexey Ivanov a40eb4a9e3 examples: python: unbreak StatsdClient.send()
send() is defined as staticmethod, so it' does not have self. Fixing
this also requires all other methods convertion to non-static which is
logical assuming the should all use self.addr set by __init__().
2012-12-10 05:06:31 +08:00
Alexey Ivanov e223710dad examples: python: unbreak example
After Statsd -> StatsdClient renaming example is borken.
2012-12-10 04:55:33 +08:00
Daniel Schauenberg 1a8bb9b144 Merge pull request #201 from goir/patch-1
Update lib/process_metrics.js
2012-12-08 20:51:18 -08:00
Daniel Schauenberg b1d3905874 Merge pull request #199 from Dieterbe/null_counter
document reset-to-0 behavior for counters
2012-12-08 20:28:23 -08:00
goir e0629d48e1 Update lib/process_metrics.js
fixed pctThreshold replace if you specify floating point values.
2012-12-05 22:11:41 +01:00
Dieter Plaetinck f3d58af35d clarify how statsd submits counters 2012-11-29 15:49:21 -05:00
Dieter Plaetinck 124c87f4f4 document reset-to-0 behavior for counters
also:
* document config.deleteCounters in readme
* move the config.flushInterval bit up to the part about flushing
2012-11-29 12:52:57 -05:00
Daniel Schauenberg 1e47f71b84 Merge pull request #198 from Dieterbe/null_counter
fix deleteCounters wording
2012-11-29 09:37:35 -08:00
Dieter Plaetinck c87f438655 fix deleteCounters wording 2012-11-29 12:34:53 -05:00
Daniel Schauenberg 32f1e4a481 Merge branch 'null_counters' of https://github.com/ReturnPath/statsd into nullcounters 2012-11-28 22:42:39 -05:00
Patrick McCoy d0901b8ed0 Fixed the tests
Fixed the tests that were broken when changing to delete
2012-11-26 13:08:18 -07:00
Patrick McCoy c03f33910e Changed stats.js to use delete
Changed stats.js to use delete instead of setting the values to
undefined in order to save some memory.
2012-11-26 12:56:29 -07:00
Daniel Schauenberg 7f380848ff Merge branch 'master' into nullcounters 2012-11-25 15:27:25 -05:00
Daniel Schauenberg 7cbde3bc2e Merge branch 'null_counters' of https://github.com/ReturnPath/statsd into nullcounters 2012-11-25 15:27:09 -05:00
Daniel Schauenberg dbd0597164 spell legacyNamespace correctly 2012-11-25 14:30:22 -05:00
Daniel Schauenberg 8f3bfb06db fix typos in README 2012-11-24 23:14:59 -05:00
Daniel Schauenberg 20d2198d42 make counter namespace changes more clear in the README 2012-11-24 23:10:33 -05:00
Daniel Schauenberg d119c57788 update the README with a quick namespace overview 2012-11-24 23:01:09 -05:00
Daniel Schauenberg 301764a799 Merge branch 'master' into configurable-metric-namespace
Conflicts:
	backends/graphite.js
2012-11-24 22:33:24 -05:00
Daniel Schauenberg d48f1b29e2 Merge pull request #195 from suvash/add-sets-example
Adds sets for Ruby example + Whitespace cleanup
2012-11-24 08:03:37 -08:00
Suvash Thapaliya eca4f06a52 Adds sets for Ruby example + Whitespace cleanup 2012-11-22 22:55:49 +01:00
Patrick McCoy 24390eef6e Updated the example config docs with the new option 2012-11-14 10:59:31 -07:00
Patrick McCoy 1e66b4e95f Tests for Delete Counters Config
Added tests for the delete counters config change.
2012-11-13 09:59:37 -07:00
Daniel Schauenberg f7d71130cb Merge pull request #193 from nextmat/readme_backend_tweaks
Tweak backend documentation in README
2012-11-12 08:59:36 -08:00
Daniel Schauenberg ebf5bb73a4 Merge pull request #194 from wallrazer/master
Simple cleanup on python example script
2012-11-12 08:56:51 -08:00
Steve Ivy 5953c665b2 Update examples/python_example.py
call the client a Client.
2012-11-12 09:42:47 -07:00
Steve Ivy 6061c3b23e Update examples/python_example.py
Fix host parameter value.
2012-11-12 09:23:56 -07:00
Steve Ivy d9ecb0a4c4 Update examples/python_example.py
Give sample client a proper initializer, and give it a basic example 
metric to run if the script is called itself.
2012-11-12 09:20:43 -07:00
Matt Sanders 962704be9c Tweak backend documentation in README 2012-11-12 09:50:40 -06:00
Daniel Schauenberg 4cf1e6d206 add test for statsd_metrics 2012-11-11 17:51:24 -05:00
Daniel Schauenberg 2546ee6263 add a statsd metrics hash which is also passed to the backend
this only holds the metrics processing time for now but can be used for other
metrics which are not fit to be added to the preexisting statsd metric values.
2012-11-11 17:44:54 -05:00
Daniel Schauenberg bd03104a3d Merge branch 'master' into extracted-metrics-processing 2012-11-11 16:42:41 -05:00