diff options
author | David M. Lee <dlee@respoke.io> | 2015-11-24 13:54:54 -0600 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2015-11-24 13:57:05 -0600 |
commit | 91346b9fb7d8b6ec2c37ac796904a955a9caf89c (patch) | |
tree | bf932e6c4d838baee44c0d53444ffa2412514aeb /include/asterisk/statsd.h | |
parent | 7fa13cec7862ef8b5d1a0ce8791b03eb4b0ab3ef (diff) |
Fixed some typos
Fixes some minor typos in the CHANGES file, plus an embarrasing typo in
the StatsD API.
Change-Id: I9ca4858c64a4a07d2643b81baa64baebb27a4eb7
Diffstat (limited to 'include/asterisk/statsd.h')
-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, |