Skip to content

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 TanzuTelemetryExportOptions

objectTanzuTelemetryExportOptions

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

Initializes a new instance of the class.

public TanzuTelemetryExportOptions()

Gets or sets the Kubernetes cluster name to stamp onto exported resources.

public string? ClusterName { get; set; }

string?

Gets or sets the raw OTLP headers string added to Tanzu proxy or shared collector requests.

public string? Headers { get; set; }

string?

Use the standard OTLP key=value comma-separated format when a proxy, route, or gateway expects explicit headers.

Gets or sets the VMware Tanzu deployment target whose hosted defaults should be applied.

public string? HostedPlatform { get; set; }

string?

Supported values are tkg, tkgi, and tap.

Gets or sets the workload namespace to stamp onto exported resources.

public string? Namespace { get; set; }

string?

When omitted, the package falls back to the current pod namespace through the POD_NAMESPACE environment variable when it is available.

Gets or sets the proxy namespace used to build the in-cluster Tanzu proxy endpoint.

public string? ProxyNamespace { get; set; }

string?

When omitted, the package falls back to and then to POD_NAMESPACE when the host runs inside a pod.

Gets or sets the optional base path used for the in-cluster Tanzu proxy endpoint.

public string? ProxyPath { get; set; }

string?

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.

Gets or sets the proxy port used for the in-cluster Tanzu proxy endpoint.

public int? ProxyPort { get; set; }

int?

This value stays required when is enabled so the package does not pretend the current Tanzu proxy path has one generic vendor-wide OTLP port for every deployment.

Gets or sets the URI scheme used for the in-cluster Tanzu proxy endpoint.

public string? ProxyScheme { get; set; }

string?

Supported values are http and https. The default is http.

Gets or sets the proxy service name used to build the in-cluster Tanzu proxy endpoint.

public string? ProxyServiceName { get; set; }

string?

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; }

string?

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.

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; }

bool

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.

FromConfiguration(IConfiguration, string)

Section titled “ FromConfiguration(IConfiguration, string)”

Binds Tanzu telemetry export options from configuration.

public static TanzuTelemetryExportOptions FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")

configuration IConfiguration

The application configuration root.

sectionPath string

The configuration section path that contains the engine settings. The default is Engine.

TanzuTelemetryExportOptions

The bound Tanzu telemetry export options.