Controller class

Constructors

Methods

Constructors

  • Create an instance of Controller class

    Parameters

    • service: Service

      service instance

    • isCluster: boolean

      indicates that the instance of this metrics service is running in a cluster

    Returns Controller

Methods

  • Return all the actual metrics of this artifact

    Parameters

    • request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

      HTTP request express object

    • response: Response<any, Record<string, any>>

      HTTP response express object

    • next: NextFunction

      Next express middleware function

    Returns void