diff options
author | Matt Jordan <mjordan@digium.com> | 2015-11-24 20:23:10 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2015-11-24 20:23:10 -0600 |
commit | e4ba64691754c7873fba52e36c74cfc71e0a053c (patch) | |
tree | f31455e56b72f343bde0bd06c6377c1603c024b9 /include | |
parent | fb45130476bf2530a189eda5119dd0e817202ac1 (diff) | |
parent | 91346b9fb7d8b6ec2c37ac796904a955a9caf89c (diff) |
Merge "Fixed some typos"
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/statsd.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/asterisk/statsd.h b/include/asterisk/statsd.h index c4ecce8f6..4cbd213ad 100644 --- a/include/asterisk/statsd.h +++ b/include/asterisk/statsd.h @@ -29,7 +29,12 @@ #include "asterisk/optional_api.h" /*! An instantaneous measurement of a value. */ -#define AST_STATSD_GUAGE "g" +#define AST_STATSD_GAUGE "g" +/*! + * Embarrassingly, gauge was misspelled for quite some time. + * \deprecated You should spell gauge correctly. + */ +#define AST_STATSD_GUAGE AST_STATSD_GAUGE /*! A change in a value. */ #define AST_STATSD_COUNTER "c" /*! Measure of milliseconds. */ @@ -71,7 +76,7 @@ AST_OPTIONAL_API(void, ast_statsd_log_string, (const char *metric_name, * * Example Usage: * \code - * ast_statsd_log_string_va(AST_STATSD_GUAGE, "+1", 1.0, "endpoints.states.%s", state_name); + * ast_statsd_log_string_va(AST_STATSD_GAUGE, "+1", 1.0, "endpoints.states.%s", state_name); * \endcode */ AST_OPTIONAL_API_ATTR(void, format(printf, 1, 5), ast_statsd_log_string_va, |