Open yamikuronue opened 6 years ago
Yeah, the following code change to StatsDGateway.cfc
fixes it. I might put together a PR later; I don't have time to check it on various versions of Adobe CF but it should be fine. Change lines 62 and 64 to:
var c = new sdclient.StatsDClient( transport, sampler, prefix, suffix );
return( c );
and rename the folder client
to sdclient
. ditto for 106-114:
var c = new sdclient.DogStatsDClient(
transport = transport,
sampler = sampler,
prefix = prefix,
suffix = suffix,
tags = tags
);
return( c );
See #2
Trying to use this library under Lucee, I'm getting the following:
I think this is due to your use of the reserved word
client
(as in the scope). Please advise?