DevToPosts
opentelemetry-dotnet
DevToPosts | opentelemetry-dotnet | |
---|---|---|
24 | 7 | |
53 | 2,968 | |
- | 1.2% | |
6.2 | 9.7 | |
about 1 month ago | 4 days ago | |
C# | C# | |
- | 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.
DevToPosts
-
Mejorando la Observabilidad en ASP.NET Core con OpenTelemetry y Aspire
Nota 馃挕: Como costumbre, el c贸digo fuente: DevToPosts/AspireDashboard/OpenTelemetryExample 路 isaacOjeda/DevToPosts (github.com)
- Mejorando Rendimiento y Escalabilidad: Gu铆a de Cach茅 Distribuido en ASP.NET Core
- Explorando la Autenticaci贸n Bearer en ASP.NET Core 8
- Mejorando la seguridad en aplicaciones SPA: Implementaci贸n del patr贸n BFF con Angular y ASP.NET Core
- ASP.NET Core: Monitoreo con OpenTelemetry y Grafana
- ASP.NET Core: API Key Authentication
- .NET 7: Minimal APIs y FluentValidation
- ASP.NET Core: Creando un Chat con SignalR y Angular
- [Parte 7] ASP.NET: Creando un Sistema Auditable
- [Parte 6] ASP.NET: Refactorizando la soluci贸n (Vertical Slice Architecture)
opentelemetry-dotnet
-
ASP.NET Core: Monitoreo con OpenTelemetry y Grafana
open-telemetry/opentelemetry-dotnet: The OpenTelemetry .NET Client (github.com)
-
Guide to Distributed Tracing with OpenTelemetry Dotnet
馃挕Good to know -- If you wish to export traces to Jaeger, you should use the AddJaegerExporter instead of the AddOtlpExporter. Visit the opentelemetry-dotnet repository to see how it's done.
-
Observability with Grafana Cloud and OpenTelemetry in .net microservices
We're going to use OpenTelemetry .NET SDK. Add following nuget dependencies to the project:
-
OpenTelemetry in Action: Identifying Database Dependencies
We instrument the application with the OpenTelemetry SDK and SqlClient instrumentation library for .NET. First, we add the following NuGet package references to the API鈥檚 project file:
-
State for each API Request
It should be handled automatically by OpenTelemetry middlewares. Just look through documentation and samples https://github.com/open-telemetry/opentelemetry-dotnet
-
[c#] Using W3C Trace Context standard in distributed tracing
Besides that, the propagation fields (traceparent and tracestate) were added in the message header. In the last article, I said that the standard (in the Working Draft (WD) step of the w3c process) recommends to add the propagation fields in the application-properties section by the message publisher. For the current example, I chose to propagate that context in the message header even for AMQP calls as was done in the dotnet OpenTelemetry example. It's important to reinforce that Trace Context: AMQP protocol is not a W3C Recommendation yet. Take a look at the place where the propagation fields were added:
-
Tracing End-to-End Data from Power Apps to Azure Cosmos DB
As long as the Azure Functions app knows the instrumentation key from an Application Insights instance, it traces almost everything. OpenTelemetry.NET is one of the Open Telemetry implementations, has recently released v1.0 for tracing. Both metrics and logging are close to GA. However, it doesn't work well with Azure Functions. Therefore, in this post, let's manually implement the tracing at the log level, which is sent to Application Insights.
What are some alternatives?
Audit.NET - An extensible framework to audit executing operations in .NET and .NET Core.
ApplicationInsights-dotnet - ApplicationInsights-dotnet
MediatR - Simple, unambitious mediator implementation in .NET
RabbitMQ - Open source RabbitMQ: core server and tier 1 (built-in) plugins
MinimalApiArchitecture - .NET 8 Minimal API with Vertical Slice Architecture
zipkin - Zipkin is a distributed tracing system
oidc-client-js - OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
C# StatsD Client
FluentValidation - A popular .NET validation library for building strongly-typed validation rules.
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
ApiEndpoints - A project for supporting API Endpoints in ASP.NET Core web applications.
trace-context-w3c - W3C Trace Context purpose of and what kind of problem it came to solve.