Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

902 B
Raw Blame
<Frame>
  <img src="/images/elastic-dashboard-1.png" />
  <img src="/images/elastic-dashboard-2.png" />
</Frame>
<Frame>
  <img src="/images/elastic-dashboard-3.png" />
  <img src="/images/elastic-dashboard-4.png" />
</Frame>

To directly send OpenTelemetry metrics and traces generated by OpenLIT from your AI Application to Elastic, follow the below steps.

### 1. Get your Credentials

1. Sign in to your Elastc account.
1. Open the side navigation and click on **APM** under **Observability**.
1. Make sure the APM Server is running
1. In the APM Agents section, Select **OpenTelemetry** and directly jump to **Step 5** (Configure OpenTelemetry in your application):
1. Copy and save the configuration value for `OTEL_EXPORTER_OTLP_ENDPOINT` and `OTEL_EXPORTER_OTLP_HEADERS`
    <Note>Replace the space after `Bearer` with `%20`: OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer%20[APIKEY]"</Note>