[go-nuts] Looking for a way to monitor all active Go channels

2018-08-29 Thread 'Ingo Oeser' via golang-nuts
I would suggest opening an issue for that, if it isn't. A runtime provided profile similar to the contention profile might be very useful here. But that needs careful design. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe fro

[go-nuts] Looking for a way to monitor all active Go channels

2018-08-28 Thread Ingo Jaeckel
I am building lots of apps where the consumer/producer pattern plays a big role. Usually, I end up tracking metrics on individual Go channels (e.g. enqueue/dequeue rate, periodically calling len(channel)). This works well to confirm if channels have the right capacity, consumers are keeping up,