Last active
June 21, 2024 19:15
-
-
Save stefanhayden/e2157edfac14c7bb7b40a605a3303f14 to your computer and use it in GitHub Desktop.
queues/ingress type finder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Paste this in the console of the queues/ingress page of sidekiq | |
// spits out an array of types from the objects on the page | |
[...$$('#page table td:nth-child(3) div')].map(el => el.textContent).map(txt => [...(txt.matchAll(/"type\\":\\"(.+?)\\/g))].map(a => a[1]).join('-')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment