equal
deleted
inserted
replaced
5 -- This module is MIT/X11 licensed. |
5 -- This module is MIT/X11 licensed. |
6 |
6 |
7 local socket = require "socket" |
7 local socket = require "socket" |
8 local iterators = require "util.iterators" |
8 local iterators = require "util.iterators" |
9 local jid = require "util.jid" |
9 local jid = require "util.jid" |
|
10 local bare_sessions = prosody.bare_sessions; |
10 |
11 |
11 local options = module:get_option("statsd") or {} |
12 local options = module:get_option("statsd") or {} |
12 |
13 |
13 -- Create UDP socket to statsd server |
14 -- Create UDP socket to statsd server |
14 local sock = socket.udp() |
15 local sock = socket.udp() |