Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better logs in MWM and MTM #557

Open
JoeBatt1989 opened this issue Nov 2, 2022 · 0 comments
Open

Better logs in MWM and MTM #557

JoeBatt1989 opened this issue Nov 2, 2022 · 0 comments

Comments

@JoeBatt1989
Copy link
Contributor

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)
@JoeBatt1989 JoeBatt1989 changed the title Better logs in MEM and MTM Better logs in MWM and MTM Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant