Behaviours: gen_server
.
auto_create_entry/1 | |
code_change/3 | |
delete_entry/1 | |
demonitor/1 | |
ensure/3 | |
find_auto_template/1 | Convenience function for testing which template will apply to
Name . |
handle_call/3 | |
handle_cast/2 | |
handle_info/2 | |
init/1 | |
load_defaults/0 | |
load_predefined/0 | |
make_patterns/2 | |
monitor/2 | |
monitor/3 | |
new_entry/3 | |
normalize_name/1 | |
prefixes/1 | |
preset_defaults/0 | |
propose/3 | |
re_register_entry/3 | |
register_application/1 | |
repair_entry/1 | |
set_default/3 | Sets a default definition for a metric type, possibly using wildcards. |
start_link/0 | |
terminate/2 |
auto_create_entry(Name) -> any()
code_change(X1, S, X3) -> any()
delete_entry(Name) -> any()
demonitor(Pid) -> any()
ensure(Name, Type, Opts) -> any()
find_auto_template(Name::exometer:name()) -> #exometer_entry{} | false
Convenience function for testing which template will apply to
Name
. See set_default/2
and exometer:update_or_create/2
.
handle_call(Req, From, S) -> any()
handle_cast(X1, S) -> any()
handle_info(X1, S) -> any()
init(X1) -> any()
load_defaults() -> any()
load_predefined() -> any()
make_patterns(Type, Name) -> any()
monitor(Name, Pid) -> any()
monitor(Name, Pid, OnError) -> any()
new_entry(Name, Type, Opts) -> any()
normalize_name(N) -> any()
prefixes(L) -> any()
preset_defaults() -> any()
propose(Name, Type, Opts) -> any()
re_register_entry(Name, Type, Opts) -> any()
register_application(App) -> any()
repair_entry(Name) -> any()
set_default(NamePattern0::[atom()], Type::atom(), Exometer_entry::#exometer_entry{} | [{atom(), any()}]) -> true
Sets a default definition for a metric type, possibly using wildcards.
Names are lists of atoms, where '_' is a wildcard. For example,
[a, b, c, '_']
matches all children and grandchildren of
[a, b, c]
, whereas [a, b, c, d]
specifies a single name.
The longest match will be selected, unless an exact match is found.
The definition can be given either as an #exometer_entry{}
record, or
a list of {Key, Value}
tuples, where each Key
matches an attribute
of the #exometer_entry{}
record.
start_link() -> any()
terminate(X1, X2) -> any()