Test Data Manager

Expand all | Collapse all

TDM Plugin to connect with Prometheus

Jump to Best Answer
  • 1.  TDM Plugin to connect with Prometheus

    Posted 04-23-2020 11:30 AM

    Does TDM has any plugin that can send metric to Prometheus or Elastic Search or is there any way to integrate with any other reporting UI?



  • 2.  RE: TDM Plugin to connect with Prometheus
    Best Answer

    Posted 04-27-2020 08:30 AM
    Hi Priyabanta,

    You haven't indicated what kind of information you are looking for.   If it is systems status, TDM Portal is built on top of Tomcat, so standard logs are used.    TDM itself retains statistics within the GTREP database, which can be queried for information.

    Scott


  • 3.  RE: TDM Plugin to connect with Prometheus

    Posted 05-05-2020 11:41 AM
    Hi Scott,

    We are looking for showing the following metrics in an reporting dashboard

    Active users using tdm portal and Datamaker,

    Each users cpu usage
    memory usage

    Could you please suggest how to achieve it, with integrating any other reporting UI and internally we can get these information?




  • 4.  RE: TDM Plugin to connect with Prometheus

    Posted 05-05-2020 12:56 PM
    HI Priyabanta, thanks for providing the detail.

    Active users using Datamaker - Datamaker is a windows desktop application, you would need to query Windows Tasks for instances of "gtdatamaker.exe".   Depending on the implementation, Datamaker may be launched by users RDPing into a central server, or may be distributed across client workstations.   You can determine who has used Datamaker in the last n hours (and from which system) by querying the gtrep "Test Data Manager Repository", the gtrep_su_log table

    Active users using TDM Portal - due to the inactivity timeout, it is not easy to determine "active" users, but you can determine who has logged in within the last n hours by querying the gtrep "Test Data Manager Repository" database, looking at the gtrep_su_log table.   The gtrep_audit_log shows non-login/logout activities that users have performed on the TDM Portal server.

    Each users cpu usage - we have no way to determine this per user for TDM Portal.   You may, for the Datamaker module,  be able to retrieve that information from Windows Tasks
    Memory usage - For TDM Portal & the Datamaker modules, you may be able to retrieve that information from Windows Tasks.

    regards,
    Scott