File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -3100,6 +3100,18 @@ export class FusionAuthClient {
31003100 . go ( ) ;
31013101 }
31023102
3103+ /**
3104+ * Retrieves the FusionAuth Reactor metrics.
3105+ *
3106+ * @returns {Promise<ClientResponse<ReactorMetricsResponse>> }
3107+ */
3108+ retrieveReactorMetrics ( ) : Promise < ClientResponse < ReactorMetricsResponse > > {
3109+ return this . start < ReactorMetricsResponse , void > ( )
3110+ . withUri ( '/api/reactor/metrics' )
3111+ . withMethod ( "GET" )
3112+ . go ( ) ;
3113+ }
3114+
31033115 /**
31043116 * Retrieves the FusionAuth Reactor status.
31053117 *
@@ -8012,6 +8024,13 @@ export interface ReactorMetrics {
80128024 breachedPasswordMetrics ?: Record < UUID , BreachedPasswordTenantMetric > ;
80138025}
80148026
8027+ /**
8028+ * @author Daniel DeGroff
8029+ */
8030+ export interface ReactorMetricsResponse {
8031+ metrics ?: ReactorMetrics ;
8032+ }
8033+
80158034/**
80168035 * Request for managing FusionAuth Reactor and licenses.
80178036 *
@@ -8026,7 +8045,6 @@ export interface ReactorRequest {
80268045 * @author Daniel DeGroff
80278046 */
80288047export interface ReactorResponse {
8029- metrics ?: ReactorMetrics ;
80308048 status ?: ReactorStatus ;
80318049}
80328050
You can’t perform that action at this time.
0 commit comments