telescope: Custom tag is not showing up in Telescope dashboard

  • Telescope Version: 3.0.0
  • Laravel Version: 6.16.0
  • PHP Version: 7.4.1
  • Database Driver & Version: 5.7.28-0ubuntu0.18.04.4 - (Ubuntu)

Description:

Custom tag is not showing up in Telescope dashboard.

Telescope::tag(function (IncomingEntry $entry) {
    if ($entry->type === 'request') {
        return ['status:'.$entry->content['response_status']];
    }

    return [];
});

Steps To Reproduce:

  • Install Laravel 6.0
  • Install Telescope
  • Define custom tag
  • Preview a Request in Telescope dashboard

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

I can’t replicate:

Telescope::tag(function(IncomingEntry $entry){
    if ($entry->type === 'request') {
        return ['status:'.$entry->content['response_status']];
    }

    return [];
});
Screen Shot 2020-02-21 at 3 27 29 PM