Skip to content

Commit

Permalink
feat: metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
akurilov committed Mar 10, 2024
1 parent 36bb8dc commit 8f73605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ func main() {
prometheus.MustRegister(
prometheus.NewGaugeFunc(
prometheus.GaugeOpts{
Name: "awk_subscriptions_count_total",
Help: "Awakari subscriptions total count",
Name: "awk_bot_telegram_chats_total",
Help: "Awakari Telegram Bot: total active chat count",
},
func() (v float64) {
count, err := chatStor.Count(context.TODO())
Expand Down

0 comments on commit 8f73605

Please sign in to comment.