public function index()
    {
        return collect($this->tags->monitoring())->map(function ($tag) {
            return [
                'tag' => $tag,
                'count' => $this->tags->count($tag) + $this->tags->count('failed:'.$tag),
            ];
        })->sortBy('tag')->values();
    }
public function index()
    {
        return collect($this->tags->monitoring())->map(function ($tag) {
            return [
                'tag' => $tag,
                'count' => $this->tags->count($tag) + $this->tags->count('failed:'.$tag),
            ];
        })->sortBy('tag')->values();
    }
public function index ( ) { return collect ( $ this -> tags -> monitoring ( ) ) -> map ( function ( $ tag ) { return [ 'tag' => $ tag , 'count' => $ this -> tags -> count ( $ tag ) + $ this -> tags -> count ( 'failed:' . $ tag ) , ] ; } ) -> sortBy ( 'tag' ) -> values ( ) ; }
Get all of the monitored tags and their job counts.

@return \Illuminate\Support\Collection
Get all of the monitored tags and their job counts .