Highest Session Count Metric

In  undertow

Overview

This feature is to add an additional metric called highest-session-count to the management model to allow users to see the largest number of sessions that have been active concurrently since the statistics were last reset.

Issue Metadata

Issue:

Dev Contacts:

QE Contacts:

Affected Projects or Components:

  • Wildfly

Requirements

This will be implemented as an additional metric under the deployment=*/subsystem=undertow management model address.

This will be a simple integer attribute called highest-session-count that represents the maximum number of sessions that have been active at any given time.

Test Plan

A new test will be added to the test suite to make sure the metric is working as expected. As no tests exist for current metrics it will also cover existing metrics.

This test will create and destroy several sessions, and make sure the metrics match the expected values.