ข้ามไปยังเนื้อหา

Class TanzuHostApplicationBuilderExtensions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Observability.Tanzu.Hosting
Assembly: Cephalon.Observability.Tanzu.dll

Adds VMware Tanzu-hosted observability defaults and proxy handoff wiring for Cephalon hosts.

public static class TanzuHostApplicationBuilderExtensions

objectTanzuHostApplicationBuilderExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

AddCephalonTanzu<TBuilder>(TBuilder, Action<TanzuTelemetryExportOptions>?)

Section titled “ AddCephalonTanzu<TBuilder>(TBuilder, Action<TanzuTelemetryExportOptions>?)”

Adds Tanzu-aware OpenTelemetry registration for the Cephalon engine diagnostics surface.

public static TBuilder AddCephalonTanzu<TBuilder>(this TBuilder builder, Action<TanzuTelemetryExportOptions>? configure = null) where TBuilder : IHostApplicationBuilder

builder TBuilder

The target host-application builder.

configure Action<TanzuTelemetryExportOptions>?

An optional callback that can extend or override the configuration-driven Tanzu telemetry export options.

TBuilder

The same builder instance for fluent host composition.

TBuilder

The host-application builder type to extend.

This package keeps Tanzu-specific proxy inputs and hosted resource defaults outside Cephalon.Engine and the baseline observability package. It still uses the shared Engine:Observability:Telemetry contract so hosts can keep one explicit telemetry surface.

When Endpoint or UseSelfHostedDefaults is configured, the package keeps using the shared collector-oriented OTLP path and layers Tanzu resource defaults on top. When those shared endpoint settings are absent and UseInClusterProxyService is enabled, the package enables an explicit trace-focused Tanzu proxy handoff path instead of pretending the current Tanzu documentation describes one generic vendor-direct OTLP backend for every signal.