jbuchbinder / statsd-ganglia-backend

StatsD Ganglia publisher backend
15 stars 6 forks source link

Exceptions for each attempt to handle a metric from metrics #10

Closed bimargulies closed 10 years ago

bimargulies commented 10 years ago
21 Aug 11:25:01 - Exception: TypeError: object is not a function
21 Aug 11:25:01 - gmetric.send stats_gauges_statsd.timestamp_lag 0
21 Aug 11:25:01 - Exception: TypeError: object is not a function
21 Aug 11:25:01 - gmetric.send statsd_numStats 331
21 Aug 11:25:01 - Exception: TypeError: object is not a function
bimargulies commented 10 years ago

It appears that the current gmetrics is not compatible with this. The java code in here says 'new gm()', but the defined constructor is named 'gmetrics'.

benson-basis commented 10 years ago

Hmm, now I get:

22 Aug 09:06:53 - Exception: ReferenceError: Gmetric is not defined

I will debug and submit a PR.