Show notification time in frontend

Archived from the Transloadit support forum. Originally posted on July 20, 2011; details may be outdated, see our docs for current behavior. Original thread

Hey Guys,

I think it would be nice for debugging-purposes to see the timestamp when the notification-url was pinged somewhere in the frontend. It would help e.g. if you have temporary problems with the server that is being notified to distinguish those assemblies, where notifications failed because of the temporary problems of the server from different problems. I suppose you can’t just add upload time plus processing time to the start-timestamp, to get a guess of the notification time, since you perform realtime encoding and all that stuff…

Cheers,
Christoph

Yeah, another problem also is that we retry notifications 10 times over 2 hours. So which timestamp would show up there? The one from the first fail? Or the one from the last one? Or maybe none if the 8th one or so succeeded?

Well, obviously the best for debugging would be, to see all retries including their timestamp and possibly their HTTP response codes and responses.

If you are considered about bloating up the assembly data, you could introduce a debug mode on a per-template basis?

One of our major efforts is reworking our underlaying data storage. Once we have more flexibility in that, we will capture each notification. Closing this until implemented.

I have implemented the ability to replay notifications out of the crm. Will be deployed by the end of the week.

Do you think this would still be needed Christoph?

Anyway, I have implemented this.

You can now see a new notify_start and notify_duration key in the api json.
This is also displayed on the website on assembly detail pages.

Enjoy!