TaskHub.Shared

Metrics

Metrics are essential for monitoring the performance and health of applications. They provide quantitative data that can be used to analyze system behavior, identify bottlenecks, and make informed decisions. The TaskHub.Shared.Observability.Metrics module is not standalone; it wraps the prometheus-net library to provide a structured and consistent way to define, create, and manage various types of metrics within TaskHub applications.

Packages

The Metrics module is divided into two main packages:

Metric Types

There are three types of metrics supported by TaskHub.Shared.Metrics module: