Add Plex Media Server observability #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/plex-observability"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
plex_metricsansible role with textfile collector for Prometheus metricsMetrics Collected
plex_up- server healthplex_version_info- server versionplex_sessions_total/playing/paused- active sessionsplex_transcode_sessions_total/video/audio- transcoding statusplex_library_items{library,type}- library item countsPrerequisites
Plex token must be stored at
~/.plex-tokenon indri (already done).Test plan
mise run provision-indri -- --check --diff)mise run provision-indri)ssh indri 'cat /opt/homebrew/var/node_exporter/textfile/plex.prom'{service="plex"}🤖 Generated with Claude Code
- Create plex_metrics ansible role with textfile collector script - Add Plex log collection to Alloy configuration - Add Grafana dashboard for Plex server monitoring - Update indri.yml playbook to include plex_metrics role Metrics collected: - plex_up (server health) - plex_version_info (server version) - plex_sessions_total/playing/paused (active sessions) - plex_transcode_sessions_total/video/audio (transcoding) - plex_library_items{library,type} (library counts) Requires Plex token stored at ~/.plex-token on indri. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>