initial prototype complete, starting to package for docker
This commit is contained in:
14
prom_metrics.go
Normal file
14
prom_metrics.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package main
|
||||
|
||||
import "github.com/prometheus/client_golang/prometheus"
|
||||
|
||||
var plexActiveSessions = prometheus.NewGauge(prometheus.GaugeOpts{
|
||||
Name: "plex_active_sessions", Help: "Shows number of active sessions in plex"})
|
||||
|
||||
var plexNumMovies = prometheus.NewGauge(prometheus.GaugeOpts{
|
||||
Name: "plex_num_movies", Help: "Number of movies in the plex database",
|
||||
})
|
||||
|
||||
var plexNumTVShows = prometheus.NewGauge(prometheus.GaugeOpts{
|
||||
Name: "plex_num_tv_shows", Help: "Number of TV Shows in the plex database",
|
||||
})
|
Reference in New Issue
Block a user