HTTP Traffic Instrument using Combine

Is it possible to use the new http traffic instrument with combines dataTaskPublisher? How can I set a label to the task?

Yes, the new HTTP Traffic instrument should also work as expected with tasks created via Combine's dataTaskPublisher. However, setting a label that is displayed in Instruments is currently only supported via the URLSessionTask's taskDescription property. This in turn means there is no good way to set the label for tasks created via Combine. If this would be useful for you, please consider filing a bug report.

HTTP Traffic Instrument using Combine
 
 
Q