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.AddSingleton<JobStorage>(redisStorage);
services.AddHangfire(c =>
{
c.UseStorage(redisStorage);
c.UseRedisMetrics();
});
GlobalConfiguration.Configuration.UseBatches();
}