﻿---
title: Proxy settings for Elastic OTel SDKs
description: Configuration of the Elastic OTel SDKs proxy settings.
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7434/troubleshoot/ingest/opentelemetry/edot-sdks/proxy
products:
  - Elastic Cloud Serverless
  - Elastic Distribution of OpenTelemetry Collector
  - Elastic Observability
applies_to:
  - Serverless Observability projects: Generally available
  - Elastic Stack: Generally available
  - Elastic Distribution of OpenTelemetry Collector: Generally available
---

# Proxy settings for Elastic OTel SDKs
Elastic OTel SDKs generally use the standard proxy environment variables. However, there are exceptions and limitations depending on the language and exporter type. For general connectivity troubleshooting, refer to [Connectivity issues](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7434/troubleshoot/ingest/opentelemetry/connectivity).

## Python SDK

The Python SDK honors `HTTP_PROXY` and `HTTPS_PROXY` only when using the `http/protobuf` exporter.
If you use the default gRPC-based exporter, proxy settings are ignored. To enable proxy support, you can either:
- Switch to the `http/protobuf` exporter, which supports standard proxy environment variables.
- Route telemetry through a local Elastic Agent configured with proxy settings.


## Node.js SDK

The Node.js SDK does not currently support `HTTP_PROXY`, `HTTPS_PROXY`, or `NO_PROXY` by default. You can route telemetry through an Elastic Agent.

## Java SDK

If you're using Java SDK, you must configure Java system properties using the Java Virtual Machine (JVM). Refer to [Troubleshooting Java SDK proxy issues](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7434/troubleshoot/ingest/opentelemetry/edot-sdks/java/proxy-issues) for more information.

## Other SDKs

Other Elastic OTel SDKs honor standard proxy environment variables with no additional setup required. For example:
```
export HTTP_PROXY=http://<proxy.address>:<port>
export HTTPS_PROXY=http://<proxy.address>:<port>
```