# Sending Data to Digma using the OTEL Collector

If you’re already using OpenTelemetry (OTEL), integrating with Digma is seamless—Digma provides an OTEL receiver, so you only need to configure your system to export tracing data.

Not using OTEL yet? No worries! Setting up OTEL instrumentation is straightforward in most programming languages, often requiring little to no code changes. Plus, Digma offers enhanced observability support for certain languages, enabling deeper tracing even if traceability wasn’t originally part of your design.

### If you're using an OpenTelemetry Collector

1. Add an OTLP exporter and supply the Digma URL (ingress DNS or IP) for the `otel-collector` service. See the [Central (on-prem) Install](/digma-developer-guide/installation/central-on-prem-install.md) page for more details.&#x20;

```yaml
# collector-config.yaml

receivers:
# ...
exporters:

  #... other exporters
  
  otlp/digma:
    endpoint: ${DIGMA_COLLECTOR_URL}
    tls:
      insecure: true
```

2. Update your observability pipeline to include sending traces to the Digma receiver as well:

```yaml
# collector-config.yaml

receivers:
# ..  
exporters:
# ..  
service:
  pipelines:
    traces:
      receivers: [otlp]
      exporters: [OTHER_EXPORTERS,otlp/digma]
      processors: [batch]

```

###

### &#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digma.ai/digma-developer-guide/instrumentation/sending-data-to-digma-using-the-otel-collector.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
