HangfireIO / Hangfire

An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
https://www.hangfire.io
Other
9.32k stars 1.69k forks source link

Feature request: Dashboard job filters #1814

Open xandevelop opened 3 years ago

xandevelop commented 3 years ago

Please can you consider adding a new feature to dashboard config such that a dashboard only shows jobs matching a predicate.

This would allow different dashboards for different queues. For example:

app.UseHangfireDashboard("/hangfire/alpha", new DashboardOptions {
    IsReadOnlyFunc = () => true,
    DashboardTitle = "Alpha Queue",
    JobFilter = (job => job.Queue == "alpha")
});
app.UseHangfireDashboard("/hangfire/beta", new DashboardOptions {
    IsReadOnlyFunc = () => false,
    DashboardTitle = "Beta Queue",
    JobFilter = (job => job.Queue == "beta")
});

Possible uses include:

TheHowker commented 1 month ago

Is there any update for this kind of feature? I also have need for splited hangfire dashboards