Patterns of Distributed Systems (Fitness Functions, Chaos Engineering, Resilience, Metrics).
What are Metrics?
Metrics are numbers that tell you important information about a process under question.
They tell you accurate measurements about how the process is functioning and provide base for you to suggest improvements.
In ASP.NET 8 a lot of improvements have been made to integrate OpenTelemetry inside ASP.NET Core.
Here you can find a good documentation ASP.NET Core Metrics.
What is Chaos Engineering?
Chaos engineering is the discipline of experimenting on a system in order to build confidence in the system's capability to withstand turbulent conditions in production.
As well for Metrics, also for Chaos Engineering something is moving within .NET Core 8.
Take a look at this documentation Resilience and chaos engineering.
Locust is an open source load testing tool that you can use to stress your APIs.
Here you can find the documentation: Locust
To run test, under locust folder, run:
locust -f LocustBrewUp.pyThen navigate to http://localhost:8089.
- Is a vendor-neutral open-source project supported by the Cloud Native Computing Foundation
- Standardizes generating and collecting telemetry for cloud-native software
- Works with .NET using the .NET metric APIs
- Is endorsed by Azure Monitor and many APM vendors
Prometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud.
Prometheus is a Cloud Native Computing Foundation graduated project.
Prometheus is 100% open source and community-driven.
Grafana is an open source interactive data-visualization platform, developed by Grafana Labs, which allows users to see their data via charts and graphs that are unified into one dashboard (or multiple dashboards!) for easier interpretation and understanding.
Grafana is a set of one or more panels organized and arranged into one or more rows.