# Otlp

The payload containing integration data.

**Type**: `object`

## Properties

- name: attributeHeaders (optional)
  type: array of `AttributeHeaderMapping`
  description: Headers whose values are dynamically extracted from log event attributes. Each mapping specifies a header name and the attribute path to read the value from.

- name: endpoint (required)
  type: string
  description: The base OTLP endpoint. Signal-specific paths will be appended automatically (e.g., /v1/logs for logs, /v1/traces for traces) unless overridden by signal-specific endpoint fields.

- name: headers (optional)
  type: array of `Header`
  description: Non-secret HTTP headers for writing to an OTLP sink. Headers can contain multiple values.

- name: logsEndpoint (optional)
  type: string
  description: Optional override for the logs endpoint. If specified, this will be used instead of appending /v1/logs to the base endpoint.

- name: outputEncoding (optional)
  type: enum: `proto`, `json`
  description: Wire encoding for outbound OTLP HTTP requests.

- name: plainTextToken (optional)
  type: string
  description: A unique token generated by Grepr in plain-text

- name: secretHeaders (optional)
  type: object
  description: Secret HTTP headers for writing to an OTLP sink. Headers are single-valued.

- name: token (optional)
  type: string
  description: A unique token generated by Grepr to authenticate for an OTLP integration at ingestion

- name: tracesEndpoint (optional)
  type: string
  description: Optional override for the traces endpoint. If specified, this will be used instead of appending /v1/traces to the base endpoint.
