Skip to content

Commit

Permalink
fix: Fix is live metric name
Browse files Browse the repository at this point in the history
  • Loading branch information
coolapso committed Aug 19, 2024
1 parent 2535d40 commit 157b872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/collectors/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (e *Exporter) isLive(chId string) float64 {
func newMetrics() *metrics {
return &metrics{
IsLive: prometheus.NewDesc(
prometheus.BuildFQName(namespace, "", "isLive"),
prometheus.BuildFQName(namespace, "", "is_live"),
"If Youtube channel live stream is broadcasting",
[]string{"channel_id"}, nil,
),
Expand Down

0 comments on commit 157b872

Please sign in to comment.