Tm1SessionPoolMetrics
import io.skipcheck.tm1.spring.boot.autoconfigure.Tm1SessionPoolMetrics; Metrics for a Tm1SessionPool, from its stats(): sessions held, evicted
and closed, since every session counts against the TM1 server. Auto-configured when
Micrometer is present; bind it yourself otherwise.
tm1.session.pool.held(gauge): sessions in the pooltm1.session.pool.closing(gauge): evicted sessions in their grace periodtm1.session.pool.created(counter): sessions createdtm1.session.pool.evicted(counter, taggedreason:idle,age,size): sessions evictedtm1.session.pool.closed(counter): sessions closed on TM1
Each meter also carries the tags given to the constructor. The auto-configured ones are
tagged server with the pool's server name, default for tm1.*,
so every pool's meters have the same tag keys and a query or a dashboard can group them
by server.
Members
Tm1SessionPoolMetrics constructor | Metrics for pool. |
Tm1SessionPoolMetrics constructor | Metrics for pool, with tags on every meter, such as the server's name when there are several. |
bindTo |
Tm1SessionPoolMetrics
constructorTm1SessionPoolMetrics(Tm1SessionPool pool) Metrics for pool.
Parameters
pool- the pool to report on
Tm1SessionPoolMetrics
constructorTm1SessionPoolMetrics(Tm1SessionPool pool, Iterable<Tag> tags) Metrics for pool, with tags on every meter, such as the server's
name when there are several.
Parameters
pool- the pool to report on
tags- the tags to add
bindTo
void bindTo(MeterRegistry registry)Also in the Javadoc.