plex

package
v0.0.0-...-1c5046c Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MeasurementName = "plex"
View Source
const MetricName = "plex"

Variables

This section is empty.

Functions

func MediaMusicEventJSON

func MediaMusicEventJSON() string

func MediaPhotoEventJSON

func MediaPhotoEventJSON() string

func MediaPlayEventJSON

func MediaPlayEventJSON() string

func MediaPlayTrailerEventJSON

func MediaPlayTrailerEventJSON() string

func MediaScrobbleEvent

func MediaScrobbleEvent() string

func MediaStopEventJSON

func MediaStopEventJSON() string

func MediaStreamingMovieEvent

func MediaStreamingMovieEvent() string

func NewMetric

func NewMetric(s *plexwebhooks.Payload) (telegraf.Metric, error)

func RateEventJSON

func RateEventJSON() string

Types

type PlexWebhook

type PlexWebhook struct {
	Path string
	// contains filtered or unexported fields
}

func (*PlexWebhook) Register

func (p *PlexWebhook) Register(router *mux.Router, acc telegraf.Accumulator)

Jump to

Keyboard shortcuts

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