# OpenTelemetryCollectorSettings

- Module: [CommunityToolkit.Aspire.Hosting.OpenTelemetryCollector](/reference/api/typescript/communitytoolkit.aspire.hosting.opentelemetrycollector.md)
- Version: `13.4.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire)

Settings for configuring an OpenTelemetry Collector resource.

## Definition

```typescript
interface OpenTelemetryCollectorSettings {
  readonly collectorImage: string;
  collectorTag: string;
  disableHealthcheck: boolean;
  enableGrpcEndpoint: boolean;
  enableHttpEndpoint: boolean;
  forceNonSecureReceiver: boolean;
  image: string;
  registry: string;
}
```

## Properties

- `collectorImage`: `string` `get` -- Gets the full collector image reference.
- `collectorTag`: `string` `get - set` -- Gets or sets the tag to use for the collector image.
- `disableHealthcheck`: `boolean` `get - set` -- Gets or sets a value indicating whether the collector health check is disabled.
- `enableGrpcEndpoint`: `boolean` `get - 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.
- `enableHttpEndpoint`: `boolean` `get - 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.
- `forceNonSecureReceiver`: `boolean` `get - set` -- Gets or sets a value indicating whether the default OTLP receivers should use HTTP even when Aspire is configured for HTTPS.
- `image`: `string` `get - set` -- Gets or sets the collector image path.
- `registry`: `string` `get - set` -- Gets or sets the container registry for the image.
