Skip to content

Better logs in MWM and MTM #557

Open
@JoeBatt1989

Description

@JoeBatt1989

Is your feature request related to a problem? Please describe.
ABetter logs are needed in MWM and MTM in order to pull performance metrics reliably. Currently log timestamps have to be compared which isnt scalable. Would like to take the same approach thats been taken on MIG where the payloadElaspedTime is output which is the time from association -> payload message being published.

Describe the solution you'd like
MWM

  • Log 1 - "Workflow Request received payloadId:"
  • Log 2 - "WorkflowInstance created id: payloadId:" - new json field workflowInstanceElapsedTime: (sum of log 2 - sum of log 1)
  • Log 3 - "Task taskid: being dispatched from from workflowinstanceid:"
  • Log 4 - "Task taskid: dispatched from workflowinstanceid:*" - new json field taskDispatchElapsedTime: (sum of log 4 timestamp - log 3 timestamp = seconds taken to dispatch first task)

MTM

  • Log 1 - "Task dispatch received taskid:"
  • Log 2 - "Task plugin invoked" - new json field pluginInvokeElapsedTime: (sum of log 2 - log 1)
  • Log 3 - "Task callback received taskid:"
  • Log 4 - "Task update published taskid:*" - new json field taskUpdateElapsedTime: (sum of log 4 - log 3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions