stvp / lua-statsd-client Goto Github PK
View Code? Open in Web Editor NEWStatsd client for Lua
License: MIT License
Statsd client for Lua
License: MIT License
V2.0.0 defines "prefix" as global(line 20). This breaks my tests as they validate no globals were created.
I see that it's fixed on the master branch, but not yet deployed to luarocks.
Is there anything preventing from uploading a minor version with the fix to luarocks?
Thanks.
It doesn't look like version 2.0.0 is up on luarocks or moonrocks. Could you deploy to the public rocks servers, so I can automatically resolve dependencies?
Thanks!
Using statsd-2.0.0-1.rockspec... switching to 'build' mode
Cloning into lua-statsd-client...
remote: Counting objects: 35, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 35 (delta 13), reused 28 (delta 8)
Receiving objects: 100% (35/35), 5.84 KiB, done.
Resolving deltas: 100% (13/13), done.
error: pathspec '2.0.0' did not match any file(s) known to git.
Error: Failed to check out the "2.0.0" tag or branch.
Looks like there is no tag of that name on github.
Hi,
I am new to lua. I am following the steps provided in README.md. Whenever I try to run my code I am getting the runtime error as mentioned above.
Here is my code snippet.
local Statsd = require "statsd"
statsd_obj = Statsd({namespace = "test.stats"})
statsd_obj:increment(message["request"]["uri"])
Can you please help?
From the error it seems like I am trying to call Statsd as a function where as it is a table.
How can I call the Statsd as a function?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.