This is a sample project illustrating custom instrument package built with signpost schema. See detailed description here: https://appspector.com/blog/building-custom-xcode-instruments-package
You will need Xcode 10 GM and iOS 12 to build this.
- WWDC session 410 'Creating Custom Instruments'
https://developer.apple.com/videos/play/wwdc2018/410/ - John Sundell article about os_signpost API
https://www.swiftbysundell.com/daily-wwdc/getting-started-with-signposts - Apple Instruments documentation
https://help.apple.com/instruments/developer/mac/10.0/#/ - CLIPS reference
http://sequoia.ict.pwr.wroc.pl/~witold/ai/CLIPS_tutorial/
Looking for better debugging instrument? Try AppSpector. With AppSpector you can remotely debug your app running in the same room or on another continent. You can measure app performance, view CoreData and SQLite content, logs, network requests and many more in realtime. This is the instrument that you've been looking for.