/dotnet-monitor-samples

Sample projects to learn how to set up the dotnet-monitor sidecar.

Primary LanguageHTMLMIT LicenseMIT

Dotnet Container Benchmarking

Docker Configuration

An external docker network is used to bridge multiple separate docker instances for I/O. Use the following commands in PowerShell to manage the networks used in this solution:

# create external docker networks
docker network create monitor-shared

# delete external docker networks
docker network rm monitor-shared

dotnet-monitor Sidecar Container

Configuration

dotnet-monitor config show

Load Testing

LoadTestToolbox

LoadTestToolbox is a set of lightweight tools for load testing web applications.

dotnet ltt drill --url http://localhost:<PORT>/ --rps 500 --duration 30 --filename .\artifacts\drill-chart.png

dotnet ltt hammer --url http://localhost:<PORT>/ --min 1 --max 100 --filename .\artifacts\hammer-chart.png

dotnet ltt nailgun --url http://localhost:<PORT>/ --requests 1000 --filename .\artifacts\nailgun-chart.png

Visualization

Unofficial dotnet-monitor UI

dotnet-monitor UI is easy to access user experience for dotnet-monitor. It is accessed by pointing the website https://dotnet-monitor-ui.dev/ to your dotnet-monitor endpoint.

The following configuration needs to be added to your dotnet-monitor container:

  "CorsConfiguration": {
    "AllowedOrigins": "https://dotnet-monitor-ui.dev"
  }

Grafana

Garbage Collection

References