OpenTelemetryCollectorSettings

Handle
📦 CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector v13.6.1

Settings for configuring an OpenTelemetry Collector resource.

type OpenTelemetryCollectorSettings interface{}

Properties

propertyCollectorImagestringget
Gets the full collector image reference.
CollectorImage() (string, error)
propertyCollectorTagstringget · set
Gets or sets the tag to use for the collector image.
CollectorTag() (string, error)
SetCollectorTag(value string) OpenTelemetryCollectorSettings
propertyDisableHealthcheckboolget · set
Gets or sets a value indicating whether the collector health check is disabled.
DisableHealthcheck() (bool, error)
SetDisableHealthcheck(value bool) OpenTelemetryCollectorSettings
propertyEnableGrpcEndpointboolget · set
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.
EnableGrpcEndpoint() (bool, error)
SetEnableGrpcEndpoint(value bool) OpenTelemetryCollectorSettings
propertyEnableHttpEndpointboolget · set
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.
EnableHttpEndpoint() (bool, error)
SetEnableHttpEndpoint(value bool) OpenTelemetryCollectorSettings
propertyForceNonSecureReceiverboolget · set
Gets or sets a value indicating whether the default OTLP receivers should use HTTP even when Aspire is configured for HTTPS.
ForceNonSecureReceiver() (bool, error)
SetForceNonSecureReceiver(value bool) OpenTelemetryCollectorSettings
propertyImagestringget · set
Gets or sets the collector image path.
Image() (string, error)
SetImage(value string) OpenTelemetryCollectorSettings
propertyRegistrystringget · set
Gets or sets the container registry for the image.
Registry() (string, error)
SetRegistry(value string) OpenTelemetryCollectorSettings