I need to know the exact difference between container insights and Azure managed Promotheus and grafana in azure kubernates cluster

Hemanth Kumar Reddy Rachala 0 Reputation points
2024-10-10T06:57:02.7366667+00:00

I am unable to figureout the exact difference between container insights, promotheus and grafana, and if i need to integrate azure managed promotheus, in my .net core app(POD), what changes i need to make in my application to get metrics. Can any help me out, Thanks in advance

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,285 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,127 questions
Azure Managed Grafana
Azure Managed Grafana
An Azure service used to deploy Grafana dashboards for analytics and monitoring solutions.
106 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. akinbade abiola 17,210 Reputation points
    2024-10-10T11:14:37.11+00:00

    Hello Hemanth Kumar Reddy Rachala,

    Thanks for your question

    Container Insights is a feature of Azure Monitor specifically designed for containerized applications. It provides performance monitoring for container workloads deployed to AKS.

    See:

    Prometheus is an open-source monitoring and alerting toolkit, and Azure Managed Prometheus is the managed version of this service in Azure.

    Grafana is an open-source analytics and monitoring platform, and Azure Managed Grafana is the managed version in Azure.

    To integrate you will generally need to expose your metrics. Use a library like prometheus-net to expose metrics. and add annotations to your Kubernetes deployment to enable Prometheus scraping:

    please take a look at:

    https://zcusa.951200.xyz/en-us/samples/azure-samples/dotnetapp-azure-prometheus/dotnet-azure-prometheus/

    https://zcusa.951200.xyz/en-us/azure/azure-monitor/containers/container-insights-prometheus-logs?source=recommendations

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.