Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/guides/open-telemetry-collector.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,19 @@ service:
```

## Configure OTLP
You can configure OTLP-related flags in a yaml file.

```
limits:
promote_resource_attributes: <list of string>
...
distributor:
otlp:
convert_all_attributes: <boolean>
disable_target_info: <boolean>
allow_delta_temporality: <boolean>
enable_type_and_unit_labels: <boolean>
```

### target_info metric

Expand Down Expand Up @@ -117,6 +130,17 @@ distributor:
disable_target_info: false
```

### Delta temporality

The OpenTelemetry supports two temporalities, [Delta and Cumulative](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality).
By default, only the cumulative metrics can be ingested.
To enable the ingestion of OTLP metrics with delta temporality, set the `distributor.otlp.allow-delta-temporality` flag to `true`.

### Enable `__type__` and `__unit__` label

The `__type__` and `__unit__` labels are added to OTLP metrics if `distributor.otlp.enable-type-and-unit-labels` is set to `true`.
This flag is disabled by default.

### Configure promote resource attributes per tenants

The `promote_resource_attributes` is a [runtime config](./overrides-exporter.md) so you can configure it per tenant.
Expand Down