diff options
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/api0/serverlist.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/api0/serverlist.go b/pkg/api/api0/serverlist.go index 73837ba..67e6db0 100644 --- a/pkg/api/api0/serverlist.go +++ b/pkg/api/api0/serverlist.go @@ -430,7 +430,7 @@ func (s *ServerList) GetMetrics() []byte { // write metrics var b bytes.Buffer - b.WriteString(`atlas_api0sl_map_info{map="_other",map_title="Other"}`) + b.WriteString(`atlas_api0sl_map_info{map="_other",map_title="Other"} 1`) b.WriteByte('\n') for _, m := range nstypes.Maps() { b.WriteString(`atlas_api0sl_map_info{map="`) @@ -443,7 +443,7 @@ func (s *ServerList) GetMetrics() []byte { } b.WriteByte('\n') - b.WriteString(`atlas_api0sl_playlist_info{playlist="_other",playlist_title="Other"}`) + b.WriteString(`atlas_api0sl_playlist_info{playlist="_other",playlist_title="Other"} 1`) b.WriteByte('\n') for _, pl := range nstypes.Playlists() { b.WriteString(`atlas_api0sl_playlist_info{playlist="`) |