Migrating from Promtail to Grafana Alloy
With Promtail reaching end-of-life on March 2, 2026, migrating to Grafana Alloy is essential for maintaining a supported and future-proof logging infrastructure. This blueprint guides you through converting your existing Promtail configuration to Alloy and deploying it on Cloud Container Engine (CCE). If you're currently running Promtail as described in Aggregate CCE Logs with Promtail & Grafana Loki, this guide provides a clear path forward.
Why Migrate to Grafana Alloy?
Grafana Alloy replaces Promtail as the actively maintained log collection agent and offers significant advantages beyond simple log collection. As a unified telemetry collector, Alloy natively supports logs, metrics, traces, and profiles, allowing you to consolidate multiple specialized collectors into a single agent per node. Its component-based architecture provides flexibility to adapt to changing requirements, while enterprise-grade features like clustering, GitOps support, and advanced debugging capabilities ensure production readiness.
Prerequisites
Before migrating, ensure you have the following:
- An existing Promtail configuration file (see Aggregate CCE Logs with Promtail & Grafana Loki)
- Grafana Alloy installed on your cluster (see Aggregate CCE Logs with Grafana Alloy & Grafana Loki)
Migration Approaches
Grafana Alloy supports two migration paths depending on your requirements and timeline:
Convert Configuration (Recommended)
Converting your Promtail configuration to Alloy's native format allows you to leverage all of Alloy's features and ensures long-term maintainability. The built-in convert command automates most of the conversion process, translating YAML-based Promtail configurations into Alloy's component-based format.
Run Promtail Configuration Natively
For testing or temporary migration scenarios, Alloy can run Promtail configurations directly. This approach requires no configuration changes but doesn't provide access to Alloy's extended capabilities. This method is not discussed in this blueprint as it is intended for short-term use only. Visit Run a Promtail configuration for more details.