Top Level Namespace

Defined Under Namespace

Modules: Librato

Instance Method Summary collapse

Instance Method Details

#metric_name(n, opts) ⇒ Object



82
83
84
# File 'bin/librato-metrics-memcached', line 82

def metric_name(n, opts)
  ("%s%s" % [opts[:prefix], n]).to_sym
end

#server_name(n) ⇒ Object



78
79
80
# File 'bin/librato-metrics-memcached', line 78

def server_name(n)
  n.split(":").first
end