Documentation ¶
Index ¶
- Constants
- func MediaMusicEventJSON() string
- func MediaPhotoEventJSON() string
- func MediaPlayEventJSON() string
- func MediaPlayTrailerEventJSON() string
- func MediaScrobbleEvent() string
- func MediaStopEventJSON() string
- func MediaStreamingMovieEvent() string
- func NewMetric(s *plexwebhooks.Payload) (telegraf.Metric, error)
- func RateEventJSON() string
- type PlexWebhook
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 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)
Click to show internal directories.
Click to hide internal directories.