OpenTelemetryCollectorSettings
Class net10.0
Settings for configuring an OpenTelemetry Collector resource.
namespace Aspire.Hosting;
public class OpenTelemetryCollectorSettings{ // ...} 9 members
Constructors1
Section titled ConstructorsProperties8
Section titled PropertiesCollectorImagegetstring Gets the full collector image reference.
CollectorTagget; setstring Gets or sets the tag to use for the collector image.
DisableHealthcheckget; setbool Gets or sets a value indicating whether the collector health check is disabled.
EnableGrpcEndpointget; setbool 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.
EnableHttpEndpointget; setbool 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.
ForceNonSecureReceiverget; setbool Gets or sets a value indicating whether the default OTLP receivers should use HTTP even when Aspire is configured for HTTPS.
Imageget; setstring Gets or sets the collector image path.
Registryget; setstring Gets or sets the container registry for the image.