OpenTelemetryCollectorSettings
Class net10.0
Settings for the OpenTelemetry Collector
namespace Aspire.Hosting;
public class OpenTelemetryCollectorSettings{ // ...} 9 members
Constructors1
Section titled ConstructorsProperties8
Section titled PropertiesCollectorImagegetstring The image of the collector, defaults to ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib
CollectorTagget; setstring The Tag to use for the collector
DisableHealthcheckget; setbool Disable the healthcheck on the collector container
EnableGrpcEndpointget; setbool 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
EnableHttpEndpointget; setbool 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
ForceNonSecureReceiverget; setbool Force the default OTLP receivers in the collector to use HTTP even if Aspire is set to HTTPS
Imageget; setstring The collector image path
Registryget; setstring The registry for the image