This allows instruments to record a diagnostic and have it land as an object in a GListModel of diagnostics available to the API consumer. Such items may be used by recording UI to display issues with the recording to the user.