Skip to content
DocsTry Aspire
DocsTry

OpenTelemetryCollectorSettings Properties

ClassProperties8 members
Settings for configuring an OpenTelemetry Collector resource.
CollectorImageSection titled CollectorImagestring
Gets the full collector image reference.
public string CollectorImage { get; }
CollectorTagSection titled CollectorTagstring
Gets or sets the tag to use for the collector image.
public string CollectorTag { get; set; }
DisableHealthcheckSection titled DisableHealthcheckbool
Gets or sets a value indicating whether the collector health check is disabled.
public bool DisableHealthcheck { get; set; }
EnableGrpcEndpointSection titled EnableGrpcEndpointbool
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; }
EnableHttpEndpointSection titled EnableHttpEndpointbool
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; }
ForceNonSecureReceiverSection titled ForceNonSecureReceiverbool
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; }