Class TanzuTelemetryExportOptions
Namespace: Cephalon.Observability.Tanzu.Configuration
Assembly: Cephalon.Observability.Tanzu.dll
Configures VMware Tanzu observability defaults on top of the shared Cephalon telemetry contract.
public sealed class TanzuTelemetryExportOptionsInheritance
Section titled “Inheritance”object ← TanzuTelemetryExportOptions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”TanzuTelemetryExportOptions()
Section titled “ TanzuTelemetryExportOptions()”Initializes a new instance of the
public TanzuTelemetryExportOptions()Properties
Section titled “Properties”ClusterName
Section titled “ ClusterName”Gets or sets the Kubernetes cluster name to stamp onto exported resources.
public string? ClusterName { get; set; }Property Value
Section titled “Property Value”Headers
Section titled “ Headers”Gets or sets the raw OTLP headers string added to Tanzu proxy or shared collector requests.
public string? Headers { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Use the standard OTLP key=value comma-separated format when a proxy, route, or gateway expects
explicit headers.
HostedPlatform
Section titled “ HostedPlatform”Gets or sets the VMware Tanzu deployment target whose hosted defaults should be applied.
public string? HostedPlatform { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Supported values are tkg, tkgi, and tap.
Namespace
Section titled “ Namespace”Gets or sets the workload namespace to stamp onto exported resources.
public string? Namespace { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”When omitted, the package falls back to the current pod namespace through the POD_NAMESPACE
environment variable when it is available.
ProxyNamespace
Section titled “ ProxyNamespace”Gets or sets the proxy namespace used to build the in-cluster Tanzu proxy endpoint.
public string? ProxyNamespace { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”When omitted, the package falls back to POD_NAMESPACE when the host runs inside a pod.
ProxyPath
Section titled “ ProxyPath”Gets or sets the optional base path used for the in-cluster Tanzu proxy endpoint.
public string? ProxyPath { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”When otlp/http is selected, the package still appends the standard OTLP signal path beneath
this base path unless the full signal path was already provided.
ProxyPort
Section titled “ ProxyPort”Gets or sets the proxy port used for the in-cluster Tanzu proxy endpoint.
public int? ProxyPort { get; set; }Property Value
Section titled “Property Value”int?
Remarks
Section titled “Remarks”This value stays required when
ProxyScheme
Section titled “ ProxyScheme”Gets or sets the URI scheme used for the in-cluster Tanzu proxy endpoint.
public string? ProxyScheme { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Supported values are http and https. The default is http.
ProxyServiceName
Section titled “ ProxyServiceName”Gets or sets the proxy service name used to build the in-cluster Tanzu proxy endpoint.
public string? ProxyServiceName { get; set; }Property Value
Section titled “Property Value”TrustedCaCertificatePath
Section titled “ TrustedCaCertificatePath”Gets or sets the filesystem path to a trusted CA bundle used for HTTPS OTLP/HTTP traces and metrics against shared collectors or Tanzu proxy endpoints.
public string? TrustedCaCertificatePath { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Because the current OTLP logging exporter does not support custom HttpClient wiring for HTTP,
the package rejects configurations that require this custom CA path for logs. OTLP/gRPC custom CA
wiring is also left explicit and unsupported for now.
UseInClusterProxyService
Section titled “ UseInClusterProxyService”Gets or sets a value indicating whether the package should target an in-cluster Tanzu proxy service for trace handoff when no shared endpoint is configured.
public bool UseInClusterProxyService { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”This trace-handoff path intentionally stays explicit because the current Tanzu and Wavefront documentation centers proxy-mediated OpenTelemetry traces, not one generic managed OTLP backend for every signal.
Methods
Section titled “Methods”FromConfiguration(IConfiguration, string)
Section titled “ FromConfiguration(IConfiguration, string)”Binds Tanzu telemetry export options from configuration.
public static TanzuTelemetryExportOptions FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")Parameters
Section titled “Parameters”configuration IConfiguration
The application configuration root.
sectionPath string
The configuration section path that contains the engine settings. The default is Engine.
Returns
Section titled “Returns”The bound Tanzu telemetry export options.