--- title: "Monitoring and performance" --- Keeping a running deployment healthy: what to measure, where to send it, and what to collect when something goes wrong. ## Metrics and dashboards - [Collect performance metrics](/administration-guide/scale/collect-performance-metrics) - Turn on the metrics endpoint and decide what to scrape. - [Deploy Prometheus and Grafana for performance monitoring](/administration-guide/scale/deploy-prometheus-grafana-for-performance-monitoring) - Stand up the monitoring stack. - [Performance monitoring metrics](/administration-guide/scale/performance-monitoring-metrics) - What each metric means. - [Performance alerting](/administration-guide/scale/performance-alerting) - Alert thresholds worth setting, and why. - [Push notification health targets](/administration-guide/scale/push-notification-health-targets) - Healthy delivery latency and failure rates. ## Logging - [Mattermost logging](/administration-guide/manage/logging) - Configure what the server logs and where. - [Deploy Grafana Loki for centralized logging](/administration-guide/scale/deploy-grafana-loki-for-centralized-logging) - Aggregate logs across servers. ## Health and diagnostics - [Optimize your Mattermost workspace](/administration-guide/configure/optimize-your-workspace) - Run the System Console health check and act on what it finds. - [Statistics](/administration-guide/manage/statistics) - Site and team usage statistics. - [Configure server health check probes](/administration-guide/manage/configure-health-check-probes) - Liveness and readiness endpoints for your orchestrator. - [Request a server health check](/administration-guide/manage/request-server-health-check) - Have Mattermost review your deployment. - [Generate a support packet](/administration-guide/manage/admin/generating-support-packet) - Collect logs and configuration for a support ticket. - [Mattermost error codes](/administration-guide/manage/admin/error-codes) - Look up an error a user reported. ## Telemetry - [Telemetry](/administration-guide/manage/telemetry) - What Mattermost collects, and how to turn it off. - [Ensure releases perform at scale](/administration-guide/scale/ensuring-releases-perform-at-scale) - How Mattermost load-tests each release.