public interface TrackingAgent
Agent providing means to gather and collect statistical, timing and usage information. Track how often was something called, how long did a call take or was a code digit even run through. If a new feature is used or if the usage is decreasing
Modifier and Type | Field and Description |
---|---|
static SpecialistType<TrackingAgent> |
TYPE
Agent providing means to gather and collect statistical, timing and usage information.
|
static final SpecialistType<TrackingAgent> TYPE
void track(@NotNull UUID uuid, @NotNull String label, @Nullable String categoryName) throws IllegalArgumentException
track(B07A3797-A265-43FC-BB86-97C2062D4D98, "1234", "com.mycompany.ModuleName-Preview")
uuid
- the UUID
label
- an identifying label - a really identifying, meaningful labelcategoryName
- use the same category name where necessary - useful to group byIllegalArgumentException
- if @{UUID
uuid} is invalid or any NotNull argument is nullvoid track(@NotNull UUID uuid, @NotNull String label, @NotNull String value, @Nullable String categoryName, @Nullable String explanation) throws IllegalArgumentException
track(B07A3797-A265-43FC-BB86-97C2062D4D98, "Preview time", "1234", "com.mycompany.ModuleName-Preview", "How long the preview generation takes. Includes not the browser rendering.")
uuid
- the UUID
label
- an identifying labelvalue
- e.g. millisecondscategoryName
- categoryName use the same category name where necessary - useful to group byexplanation
- extended meaningful description referred to the valueIllegalArgumentException
- if @{UUID
uuid} is invalid or any NotNull argument is nullCopyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210