- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Detemine total time taken by a group of processors?
- Labels:
-
Apache NiFi
Created on 09-15-2023 02:58 AM - edited 09-15-2023 03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is most convenient way of determining total time taken by a group of consecutive processors?
Do I need to log time before first and after last processor, and then take the diff?
Or there is some inbuild feature that can help me on this?
Created 09-15-2023 05:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This served my purpose.
${now():toNumber():minus(${lineageStartDate}):format("HH:mm:ss", "GMT")}
I added it to a LogMessage processor, and I can see the result in logs, though sending it over a mail would be terrific.
Created 09-15-2023 06:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
