metrics

package
v0.0.0-...-7c3c32e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchConnectedClients

func FetchConnectedClients(jellyfinApiUrl, jellyfinToken string)

FetchConnectedClients retrieves the connected clients and updates the metric

func FetchMediaCounts

func FetchMediaCounts(jellyfinApiUrl, jellyfinToken string)

FetchMediaCounts retrieves the media counts and updates the metric

func FetchScheduledTasks

func FetchScheduledTasks(jellyfinApiUrl, jellyfinToken string)

func FetchStreamCounts

func FetchStreamCounts(jellyfinApiUrl, jellyfinToken string)

FetchStreamCounts retrieves the stream counts and updates the metric

Types

type ScheduledTask

type ScheduledTask struct {
	Id              string  `json:"Id"`
	Name            string  `json:"Name"`
	State           string  `json:"State"`
	LastExecutionMs float64 `json:"LastExecutionResultDurationMs"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL