HangfireIO / HangfireIO/Hangfire

Why hangfire not use meter for metrics

Open
#2,403 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

Now we have metrics in dashboard, but if we want reuse this metrics in our alerts, we have to write our custom metrics, but if hangfire moves to microsoft class Meter, we can reuse it for our alerts

As example, for npgsql we just write
```
builder
.AddMeter(DiagnosticsConfig.DefaultMeterName)
.AddMeter("Npgsql")
```

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Begin by reviewing how Hangfire's existing dashboard metrics are produced and compare the requested Microsoft Meter approach with the Npgsql AddMeter example. Done means Hangfire metrics can be consumed by application alerts through Meter registration without custom metrics.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.