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

Winter release ❄️ (Clockwork 4.0) #274

Closed
26 of 32 tasks
itsgoingd opened this issue Jul 31, 2018 · 10 comments
Closed
26 of 32 tasks

Winter release ❄️ (Clockwork 4.0) #274

itsgoingd opened this issue Jul 31, 2018 · 10 comments

Comments

@itsgoingd
Copy link
Owner

itsgoingd commented Jul 31, 2018

This is a meta issue for tracking progress on the next major release (Clockwork 4.0), scheduled roughly for early 2019.

Clockwork server-side

Under consideration

Clockwork app

Under consideration

Meta

  • clean up and open-source the website code
  • create a clean test project for each supported framework version
    • end goal is to move to automated testing
  • automated way to handle changelogs, releases and stuff
@fgilio
Copy link
Contributor

fgilio commented Aug 1, 2018

The "on-demand mode" mode sounds nice, and "add request replay support" would be awesome.

Going to try out 3.0! Thanks for the update 😃

@L3o-pold
Copy link

L3o-pold commented Aug 23, 2018

An idea with the new multiple request feature is to have this information on the timeline of the main request.

@robclancy
Copy link
Contributor

You need to check https://github.com/laravel/telescope. Anything it is tracking so can clockwork, and maybe even just be able to integrate etc.

@itsgoingd
Copy link
Owner Author

nice, was waiting for this to go public

so I've took a look and no surprises, it works in a pretty similar way to clockwork - listen to a bunch of framework events, store the data in a database and present it in an spa.

here are a couple of cool ideas I liked, some already on the todo list, some entirely fresh, that can make their way to clockwork in some form:

  • searchable requests history (was always on todo list)
  • authenticated user info (might combine with session tab)
  • reporting and marking slow queries (already planned, but never got around to do this)
  • models tab (kinda like an alternative to the database tab more centred around models)
  • queue tab (a new callback for logging pushed queue jobs was added to laravel for telescope, was going to PR something similar, so this makes my work implementing queue tab much easier)
  • notifications tab (kinda overlaps with emails tab, but laravel also has sms and all kinds of notifications)
  • ability to specify a filter callback to log only certain kinds of requests (useful for profiling in production, tho it seems to have the same problem as clockwork where the data is already collected at the point where the filter is applied, so the overhead from profiling will always be there)
  • pretty web ui? (the telescope ui is way more flashy, even when showing pretty much the same stuff)

@robclancy
Copy link
Contributor

The thing I like about clockwork over telescope is that it is in the devtools. I don't want a whole tab dedicated to this. And also with clockwork you get requests just for that single tab whereas telescope is for all requests regardless of how they come in. This will be good for production (I would never run clockwork in production) but not as useful for development.

I'll be using both, clockwork for development/debugging and telescope for a more general overview of things and also will be useful for emails/notifications.

You can assume everyone who uses laravel will use telescope so it means some things it does better you can probably stop doing or integrate. For example your cache counts could link to telescopes cache page.

@Zolak94
Copy link

Zolak94 commented Apr 20, 2019

What about showing all triggered events? next to Session tab we would have Events where it will show all events triggered, and option to show more details about every event?

@itsgoingd
Copy link
Owner Author

@Zolak94 Hey, we actually already do, available since Clockwork 3.0. If your app dispatches custom events you should see an "events" tab including payloads and listeners for each event (framework events are filtered by default).

@StringKe
Copy link

hi,How do I view the parameters passed by the laravel blade? (view template data)

@itsgoingd
Copy link
Owner Author

@StringKe Hey, you can deploy the Clockwork config file and remove "viewData" form the "filter" setting. Now you should see a new "views" tab with all rendered views including view data. Note that this is turned off by default since it can be a lot of extra data to collect, depending on what you pass in to your views.

@StringKe
Copy link

@StringKe Hey, you can deploy the Clockwork config file and remove "viewData" form the "filter" setting. Now you should see a new "views" tab with all rendered views including view data. Note that this is turned off by default since it can be a lot of extra data to collect, depending on what you pass in to your views.

thinks

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

6 participants