| 12345678910111213 |
- -define(APP, emqx_auth_pgsql).
- -record(auth_metrics, {
- success = 'client.auth.success',
- failure = 'client.auth.failure',
- ignore = 'client.auth.ignore'
- }).
- -define(METRICS(Type), tl(tuple_to_list(#Type{}))).
- -define(METRICS(Type, K), #Type{}#Type.K).
- -define(AUTH_METRICS, ?METRICS(auth_metrics)).
- -define(AUTH_METRICS(K), ?METRICS(auth_metrics, K)).
|