Dashboard - UseRedisMetrics

I have added UseRedisMetrics metrics but I am not able to see the metrics on the dashboard

Here is the config;
private void ConfigureHangfire(IServiceCollection services)
// workaround for https://github.com/HangfireIO/Hangfire/issues/799
services.AddSingleton(_ => JobFilterProviders.Providers);
// end workaround

        var settings = Configuration.GetSection(ConfigurationKeys.Common.Services.Hangfire).Get<HangfireServerSettings>();

       var redisStorage = new RedisStorage("foobar.redis.com:12345");

        services.AddHangfire(c =>


Hm. Could you show the whole class? I need to ensure dashboard is configured there.

Unfortunately I’d have to redact a lot of lines so here is what I think you are looking for.

     app.UseHangfireDashboard(options: new DashboardOptions
            AppPath = "/diagnostics/",
            Authorization = new[] {new RoleBasedAccessFilter(UserRoles.HangfireAdmin)}

See https://github.com/HangfireIO/Hangfire/pull/800

Configuration block (where you call c.UseRedisMetrics()) is not called if you explicitly put JobStorage service into service container.

thank you I will review that pull and the notes from it.

Ok resolved by removing
and c.UseStorage

replaced with just c.UseRedisStorage inside the services.AddHangfire