Skip to content
Docs Try Aspire

OpenTelemetryCollectorSettings Properties

Class Properties 8 members
Settings for the OpenTelemetry Collector
CollectorImage Section titled CollectorImage string
The image of the collector, defaults to ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib
public string CollectorImage { get; }
CollectorTag Section titled CollectorTag string
The Tag to use for the collector
public string CollectorTag { get; set; }
DisableHealthcheck Section titled DisableHealthcheck bool
Disable the healthcheck on the collector container
public bool DisableHealthcheck { get; set; }
EnableGrpcEndpoint Section titled EnableGrpcEndpoint bool
Enable the gRPC endpoint on the collector container (requires the relevant collector config) Note: this will also setup SSL if Aspire is configured for HTTPS
public bool EnableGrpcEndpoint { get; set; }
EnableHttpEndpoint Section titled EnableHttpEndpoint bool
Enable the HTTP endpoint on the collector container (requires the relevant collector config) Note: this will also setup SSL if Aspire is configured for HTTPS
public bool EnableHttpEndpoint { get; set; }
ForceNonSecureReceiver Section titled ForceNonSecureReceiver bool
Force the default OTLP receivers in the collector to use HTTP even if Aspire is set to HTTPS
public bool ForceNonSecureReceiver { get; set; }
The collector image path
public string Image { get; set; }
The registry for the image
public string Registry { get; set; }