🕵️ SicherheitslückenHak5: Hackers Just Poisoned the Rust Supply Chain | Threat Wire(01.09.2026 um 14:00 Uhr)
🕵️ SicherheitslückenHak5: Hackers Found a Way Into Humanoid Robots | Threat Wire(04.09.2026 um 15:04 Uhr)
🔧 AI Nachrichten Bits und so #1021 (Passwort für Laufwerk)(31.08.2026 um 22:15 Uhr)
🔧 AI Nachrichten Bits und so #1022 (Wie Weißbier)(06.09.2026 um 20:39 Uhr)
🍏 iOS / Mac OSHue-App 6.0 ist da: das sind die Neuerungen(07.09.2026 um 17:21 Uhr)
🕵️ SicherheitslückenHak5: Hackers Just Poisoned the Rust Supply Chain | Threat Wire(01.09.2026 um 14:00 Uhr)
🕵️ SicherheitslückenHak5: Hackers Found a Way Into Humanoid Robots | Threat Wire(04.09.2026 um 15:04 Uhr)
🔧 AI Nachrichten Bits und so #1021 (Passwort für Laufwerk)(31.08.2026 um 22:15 Uhr)
🔧 AI Nachrichten Bits und so #1022 (Wie Weißbier)(06.09.2026 um 20:39 Uhr)
🍏 iOS / Mac OSHue-App 6.0 ist da: das sind die Neuerungen(07.09.2026 um 17:21 Uhr)
1 Tag Serie
🔧 Programmierung 🕛 kürzlich 15 Min Lesezeit
0

ASP.NET Core Apps Observability

↗ Quelle (devblogs.microsoft.com)
🗣️ Stimme:
📑 Inhaltsübersicht

Thank you for example, is a runtime to build distributed applications, , . The article will walkthrough adding each observability pillar (logging, tracing, metrics) into the sample asynchronous distributed transaction.


Note: for information on bootstrapping OpenTelemetry or Application Insights SDK please refer to the documentation: .


Logging


Logging was redesigned in .NET Core, bringing an integrated and extensible API. allow the collection of logs in multiple formats and targets. When deciding a logging platform, consider the following features:


  • Centralized: allowing the collection/storage of all system logs in a central location.

  • Structured logging: allows you to add searchable metadata to logs.

  • Searchable: allows searching by multiple criteria (app version, date, category, level, text, metadata, etc.)

  • Configurable: allows changing verbosity without code changes (based on log level and/or scope).

  • Integrated: integrated into tracing, facilitating analysis of traces and logs in the same tool.

The sample application uses the ILogger interface for logging. The snippet below demonstrates an example of structure logging. Which captures events using was announced, promising to standardize telemetry instrumentation and collection across languages and tools. Before OpenTelemetry (or its predecessors OpenCensus and OpenTracing), adding observability would often mean adding proprietary SDKs (in)directly to the code base.


The OpenTelemetry .NET SDK is currently in alpha. The Azure Monitor Application Insights team is investing in OpenTelemetry as a next step of Azure Monitor SDKs evolution.


Quick Intro on Tracing with OpenTelemetry


In a nutshell, instance.


In the asynchronous distributed transaction scenario, track the following operations:


HTTP Requests between microservices


HTTP correlation propagation is part of both SDKs. With the only requirement of setting activity id format to .


Creating an Operation Trace


The snippet below demonstrates how the publish operation trace can be created. It adds the trace information to the enqueued message header, which will later be used to link both operations.


Activity activity = null;
if (diagnosticSource.IsEnabled("Sample.RabbitMQ"))
{
// Generates the Publishing to RabbitMQ trace
// Only generated if there is an actual listener
activity = new Activity("Publish to RabbitMQ");
diagnosticSource.StartActivity(activity, null);
}

// Add current activity identifier to the RabbitMQ message
basicProperties.Headers.Add("traceparent", Activity.Current.Id);

channel.BasicPublish(...)

if (activity != null)
{
// Signal the end of the activity
diagnosticSource.StopActivity(activity, null);
}

A collector, which subscribes to target activities, is required to publish the trace to a backend. Implementing a collector is not a straightforward task and is intended to be used by SDK implementors. The snippet below is taken from the sample application, where a simplified and not production-ready, RabbitMQ collector for OpenTelemetry was implemented:


public class RabbitMQListener : ListenerHandler
{
public override void OnStartActivity(Activity activity, object payload)
{
var span = this.Tracer.StartSpanFromActivity(activity.OperationName, activity);
foreach (var kv in activity.Tags)
span.SetAttribute(kv.Key, kv.Value);
}

public override void OnStopActivity(Activity activity, object payload)
{
var span = this.Tracer.CurrentSpan;
span.End();
if (span is IDisposable disposableSpan)
{
disposableSpan.Dispose();
}
}
}

var subscriber = new DiagnosticSourceSubscriber(new RabbitMQListener("Sample.RabbitMQ", tracer), DefaultFilter);
subscriber.Subscribe();

For more information on how to build collectors, please refer to OpenTelemetry/Application Insights built-in collectors as well as this exporter. Prometheus combined with .


The post .

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf devblogs.microsoft.com.
↗ Original-Artikel auf devblogs.microsoft.com lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
Hackers Just Poisoned the Rust Supply Chain | Threat Wire
1 Quelle
Hackers Found a Way Into Humanoid Robots | Threat Wire
1 Quelle
Bits und so #1021 (Passwort für Laufwerk)
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten ASP.NET Core Apps Observability

Thematisch verwandte Begriffe: ASPNET, Core, Apps, Observability · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...