# OpenTelemetryCollectorSettings Properties

- Package: [CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector](/reference/api/csharp/communitytoolkit.aspire.hosting.opentelemetrycollector.md)
- Type: [OpenTelemetryCollectorSettings](/reference/api/csharp/communitytoolkit.aspire.hosting.opentelemetrycollector/opentelemetrycollectorsettings.md)
- Kind: `Properties`
- Members: `8`

Settings for configuring an OpenTelemetry Collector resource.

## CollectorImage

- Name: `CollectorImage`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector/OpenTelemetryCollectorSettings.cs#L31)

Gets the full collector image reference.

```csharp
public string CollectorImage { get; }
```

## CollectorTag

- Name: `CollectorTag`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector/OpenTelemetryCollectorSettings.cs)

Gets or sets the tag to use for the collector image.

```csharp
public string CollectorTag { get; set; }
```

## DisableHealthcheck

- Name: `DisableHealthcheck`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector/OpenTelemetryCollectorSettings.cs)

Gets or sets a value indicating whether the collector health check is disabled.

```csharp
public bool DisableHealthcheck { get; set; }
```

## EnableGrpcEndpoint

- Name: `EnableGrpcEndpoint`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector/OpenTelemetryCollectorSettings.cs)

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.

```csharp
public bool EnableGrpcEndpoint { get; set; }
```

## EnableHttpEndpoint

- Name: `EnableHttpEndpoint`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector/OpenTelemetryCollectorSettings.cs)

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.

```csharp
public bool EnableHttpEndpoint { get; set; }
```

## ForceNonSecureReceiver

- Name: `ForceNonSecureReceiver`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector/OpenTelemetryCollectorSettings.cs)

Gets or sets a value indicating whether the default OTLP receivers should use HTTP even when Aspire is configured for HTTPS.

```csharp
public bool ForceNonSecureReceiver { get; set; }
```

## Image

- Name: `Image`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector/OpenTelemetryCollectorSettings.cs)

Gets or sets the collector image path.

```csharp
public string Image { get; set; }
```

## Registry

- Name: `Registry`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector/OpenTelemetryCollectorSettings.cs)

Gets or sets the container registry for the image.

```csharp
public string Registry { get; set; }
```
