MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / count

Method count

src/modules/keydb_modstatsd/modmain.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 void count(const std::string& key, const int delta, const bool prefixOnly = true) {
52 m_stats->count(key, delta);
53 if (!prefixOnly) m_stats_noprefix->count(key, delta);
54 }
55
56 template <typename T>
57 void gauge(const std::string& key, const T value, const bool prefixOnly = true) {

Callers 2

linebreak_protoFunction · 0.45
handleStatItemFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected