Skip to content
Docs Try Aspire
Docs Try

OpenTelemetryCollectorSettings Properties

Class Properties 8 members
Settings for configuring an OpenTelemetry Collector resource.
CollectorImage Section titled CollectorImage string
Gets the full collector image reference.
public string CollectorImage { get; }
CollectorTag Section titled CollectorTag string
Gets or sets the tag to use for the collector image.
public string CollectorTag { get; set; }
DisableHealthcheck Section titled DisableHealthcheck bool
Gets or sets a value indicating whether the collector health check is disabled.
public bool DisableHealthcheck { get; set; }
EnableGrpcEndpoint Section titled EnableGrpcEndpoint bool
Gets or sets a value indicating whether the gRPC endpoint is enabled on the collector container. Note: this also configures TLS when Aspire is configured for HTTPS.
public bool EnableGrpcEndpoint { get; set; }
EnableHttpEndpoint Section titled EnableHttpEndpoint bool
Gets or sets a value indicating whether the HTTP endpoint is enabled on the collector container. Note: this also configures TLS when Aspire is configured for HTTPS.
public bool EnableHttpEndpoint { get; set; }
ForceNonSecureReceiver Section titled ForceNonSecureReceiver bool
Gets or sets a value indicating whether the default OTLP receivers should use HTTP even when Aspire is configured for HTTPS.
public bool ForceNonSecureReceiver { get; set; }
Gets or sets the collector image path.
public string Image { get; set; }
Gets or sets the container registry for the image.
public string Registry { get; set; }