[−][src]Module stats_traits::dynamic_stat_types
Provides dynamic versions of the thread local stats. Dynamic here means that the name of the
counter is being decided in runtime. If you use the define_stats!
to define a dynamic stat
then the pattern that is used to format the key and the arguments used in that pattern are
statically checked.
Structs
DynamicStat | The struct to hold key and stat generators that are later being used in runtime to create new stats that are being held in a map to avoid reconstruction of the same counter. |
Traits
DynamicCounter | Similar to the Counter trait, but accepts the args parameter for accessing dynamic counters created at runtime. |
DynamicHistogram | Similar to the Histogram trait, but accepts the args parameter for accessing dynamic histograms created at runtime. |
DynamicSingletonCounter | Similar to the SingletonCounter trait, but accepts the args parameter for accessing dynamic histograms created at runtime. |
DynamicTimeseries | Similar to Timeseries trait, but accepts the args parameter for accessing dynamic timeseries created in runtime. |