Skip to content

dropsonic/aspnetcore-monitoringdemo

Repository files navigation

main

ASP.NET Core Monitoring Demo

Overview

ASP.NET Core logging and monitoring demo, based the default ASP.NET Core Web Application template from .NET 5.0, using Docker and docker-compose to put it all together. This solution is, de-facto, a boilerplate for the full-blown logging and monitoring solution.

It consists of two main parts:

Also, it includes ASP.NET Core Health Checks based on AspNetCore.Diagnostics.HealthChecks and related packages. It is used to provided health checks for some internal metrics like memory consumption and for liveness of all the services. Also, it exposes a user interface for health checks on the main container.

How To Run

docker-compose up or open /MonitoringDemo.sln in Visual Studio and run it as usual.

Docker Containers Structure

image

How It Looks Like

Default Swagger Endpoint

image

Health Checks UI

image

Logging (Kibana)

image image

Monitoring (Grafana)

Dashboards List

image

Health Checks

image

.NET Runtime Metrics

image image

ASP.NET Core Controller Summary

image

Percentiles (p50/p90/p95/p99)

image

prometheus-net

image

Docker Host

image image

Docker Containers

image

Monitor Services (self-monitoring)

image

About

ASP.NET Core Monitoring Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published