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

Method gauge

src/modules/keydb_modstatsd/modmain.cpp:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56 template <typename T>
57 void gauge(const std::string& key, const T value, const bool prefixOnly = true) {
58 m_stats->gauge(key, value);
59 if (!prefixOnly) m_stats_noprefix->gauge(key, value);
60 }
61
62 void timing(const std::string& key, const unsigned int ms, const bool prefixOnly = true) {
63 m_stats->timing(key, ms);

Callers 8

handleStatItemFunction · 0.45
handleErrorStatItemFunction · 0.45
emit_system_free_memoryFunction · 0.45
event_cron_handlerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected