prometheus-net
opentelemetry-dotnet-contrib
prometheus-net | opentelemetry-dotnet-contrib | |
---|---|---|
11 | 1 | |
1,843 | 382 | |
0.9% | 2.1% | |
8.8 | 9.5 | |
21 days ago | 5 days ago | |
C# | C# | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prometheus-net
-
Is there a way to get performance statistics from my applications running on a k8s cluster?
You might want to look into prometheus https://github.com/prometheus-net/prometheus-net, https://prometheus.io/.
-
Trying to Monitor and Alert on Process Downtime for Azure Linux VMs
You would need to build a custom endpoint if it's a custom application that Prometheus can scrape but there are many libraries for that like prom-client for NodeJS or prometheus-net for C#. The list of client libraries can be found here.
- Analytics for aspnet core apis?
-
Hangfire Metrics
You could probably combine a HangFire Job Filter with the Prometheus C# library and log the things you want. Looks pretty extensible.
-
Observability with Grafana Cloud and OpenTelemetry in .net microservices
prometheus-net
-
DotNet Core 2.1 hoarding memory in Linux
I have a websocket server that hoards memory during days, till the point that Kubernetes eventually kills it. We monitor it using prometheous-net.
-
net6 API Prometheus Metrics
A library that makes this really easy for us is prometheus-net - we can create a minimal API that exposes metrics quickly and demonstrate a few different ways of creating metric data
- How to test the efficiency/speed of application
- How do you monitor your .NET web apps?
-
Writing Prometheus exporters - the Lazy Dev way
// example taken from https://github.com/prometheus-net/prometheus-net#quick-start private static readonly Counter ProcessedJobCount = Metrics .CreateCounter("myapp_jobs_processed_total", "Number of processed jobs."); ... ProcessJob(); ProcessedJobCount.Inc();
opentelemetry-dotnet-contrib
-
Hangfire Metrics
I’d use the Hangfire OpenTelemetry Extension and then use the Prometheus exporter. The extension is available here: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/src/OpenTelemetry.Instrumentation.Hangfire
What are some alternatives?
App.Metrics - App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
grafana-otel-dotnet - Sample setup showing ASP.NET Core observability with Prometheus, Loki, Grafana, Opentelemetry Collector
snap7-to-prometheus - Getting data out of Siemens PLCs using the Snap7 library and presenting them as metrics that can be read by Prometheus
Ryujinx - Experimental Nintendo Switch Emulator written in C#
sample-httpclientfactory-polly - Example of using HttpClientFactory in .NET Core 3.1 with Swagger, MediatR and Serilog
coffeeshop-on-nomad - The .NET coffeeshop application runs on Docker, Nomad and Consul Connect
Serilog - Simple .NET logging with fully-structured events
Airline-Microservices - Airline Microservice is a simple Airline application for online reserving flight ticket. This application based on different software architecture and technologies like .Net Core, CQRS, DDD, Vertical Slice Architecture, Docker, kubernetes, tye, masstransit, RabbitMQ, Grpc, yarp reverse proxy, Identity Server, Redis, SqlServer, Entity Framework Core, Event Sourcing and different level of testing.
trex-exporter - Prometheus exporter for T-Rex miner with dual stats support
TodoApi - Todo application with ASP.NET Core Blazor WASM, Minimal APIs and Authentication
EthMonitoring - Miner monitoring software with different notifications support
Prometheus.Client - .NET client for Prometheus