# Prometheus (Self-managed) > An open-source systems monitoring and alerting toolkit. This document details how to connect a self-managed instance of Prometheus, running in Kubernetes clusters or virtual machines, to Azure Monitor's managed service for Prometheus, enabling long-term data retention and centralized monitoring. - URL: https://optimly.ai/brand/prometheus-self-managed - Logo: https://logo.clearbit.com/docs.azure.cn - Slug: prometheus-self-managed - BAI Score: 49/100 - Archetype: Incumbent - Category: IT Operations - Last Analyzed: August 9, 2026 ## Buyer Intent Signals Problems: Custom Monitoring Scripts: Develop and maintain custom scripts for metric collection and storage, requiring significant manual effort and infrastructure. | Continue without long-term retention: Continue using self-managed Prometheus without remote storage, losing historical data beyond local retention limits and centralized visibility. Solutions: connect self-managed Prometheus Azure Monitor | Prometheus remote write Azure | Prometheus authentication types Azure Monitor | Azure Monitor managed service for Prometheus integration | Azure Monitor (native): Utilize Azure Monitor's native metric collection and monitoring capabilities directly, bypassing self-managed Prometheus. | Other Cloud Monitoring Services: Integrate self-managed Prometheus with a different cloud provider's monitoring service or a third-party managed monitoring solution.