application_name() = atom()
encoded_fuse_name() = atom()
fuse_check() = ok | blown | melt
fuse_name() = binary()
fuse_namespace() = atom()
index_name() = binary()
| aggregate_index_stats/3 | |
| check/1 | |
| check_all_fuses_not_blown/1 | |
| create/1 | |
| fuse_context/0 | |
| fuse_name_for_index/1 | Returns the encoded name for a fuse based on the given Index. |
| get_stats_for_index/1 | |
| index_for_fuse_name/1 | Given an encoded fuse name generated by the fuse_name_for_index/1 function, returns the index name that was used to generate it. |
| melt/1 | |
| print_stats_for_index/1 | NB. |
| remove/1 | |
| reset/1 | |
| setup/0 | Setup Fuse stats. |
| stats/0 |
aggregate_index_stats(Application::application_name(), FuseCheck::fuse_check(), Stat::count | one) -> non_neg_integer()
check(Index::index_name() | atom()) -> ok | blown | {error, not_found}
check_all_fuses_not_blown(Indexes::[index_name()]) -> boolean()
create(Index::index_name()) -> ok
fuse_context() -> async_dirty | sync
fuse_name_for_index(Index::index_name()) -> encoded_fuse_name()
Returns the encoded name for a fuse based on the given Index.
get_stats_for_index(Index::index_name()) -> {error, Reason::term()} | [{ok | melt | blown | recovered, term()}]
index_for_fuse_name(Name::encoded_fuse_name()) -> index_name()
Given an encoded fuse name generated by the fuse_name_for_index/1 function, returns the index name that was used to generate it.
melt(Index::index_name()) -> ok
print_stats_for_index(Index::atom() | index_name()) -> ok
NB. This function is meant to be called manually from the console.
remove(Index::index_name()) -> ok
reset(Index::index_name()) -> ok
setup() -> ok
Setup Fuse stats
stats() -> any()
Generated by EDoc