You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/_edot-sdks/python/setup/index.md
+7-30
Original file line number
Diff line number
Diff line change
@@ -39,40 +39,17 @@ After installing EDOT Python, configure and initialize it to start sending data
39
39
<!-- ✅ Provide _minimal_ configuration/setup -->
40
40
### Configure EDOT Python
41
41
42
-
To configure EDOT Python, at a minimum you'll need your Elastic Observability cloud OTLP endpoint and
43
-
authorization data to set a few `OTLP_*` environment variables that will be available when running EDOT Python:
42
+
Refer to [Observability quickstart](https://elastic.github.io/opentelemetry/quickstart/) documentation on how to setup your environment.
44
43
45
-
*`OTEL_RESOURCE_ATTRIBUTES`: Use this to add a `service.name` and `deployment.environment` that will make it easier to recognize your application when reviewing data sent to Elastic.
46
-
*`OTEL_EXPORTER_OTLP_ENDPOINT`: The full URL of the endpoint where data will be sent.
47
-
*`OTEL_EXPORTER_OTLP_HEADERS`: A comma-separated list of `key=value` pairs that will
48
-
be added to the headers of every request. This is typically used for authentication information.
49
-
50
-
You can find the values of the endpoint and header variables in Kibana's APM tutorial. In Kibana:
51
-
52
-
1. Go to **Setup guides**.
53
-
1. Select **Observability**.
54
-
1. Select **Monitor my application performance**.
55
-
1. Scroll down and select the **OpenTelemetry** option.
56
-
1. The appropriate values for `OTEL_EXPORTER_OTLP_ENDPOINT` and `OTEL_EXPORTER_OTLP_HEADERS` are shown there.
57
-
58
-
Here's an example for sending data to an Elastic Cloud deployment:
44
+
To configure EDOT Python you need to set a few `OTLP_*` environment variables that will be available when running EDOT Python:
*`OTEL_RESOURCE_ATTRIBUTES`: Use this to add a `service.name` and `deployment.environment` that will make it easier to recognize your application when reviewing data sent to Elastic.
65
47
66
-
And here's an example for sending data to an Elastic Cloud serverless project:
48
+
The following environment variables are not required if you are sending data through a local EDOT Collector but will be provided in the Elastic Observability platform onboarding:
*`OTEL_EXPORTER_OTLP_ENDPOINT`: The full URL of the endpoint where data will be sent.
51
+
*`OTEL_EXPORTER_OTLP_HEADERS`: A comma-separated list of `key=value` pairs that will be added to the headers of every request. This is typically used for authentication information.
73
52
74
-
> [!NOTE]
75
-
> You'll be prompted to create an API key during the Elastic Cloud serverless project onboarding. Refer to the [Api keys documentation](https://www.elastic.co/guide/en/serverless/current/api-keys.html) on how to manage them.
To confirm that EDOT Python has successfully connected to Elastic:
95
72
96
-
1. Go to **APM** → **Services**
73
+
1. Go to **Observability** → **Applications** → **Service Inventory**
97
74
1. You should see the name of the service to which you just added EDOT Python. It can take several minutes after initializing EDOT Python for the service to show up in this list.
98
75
1. Click on the name in the list to see trace data.
Refer to our [Setup](./index) page for more details.
20
+
Refer to our [Setup](./index#configure-EDOT-Python) page for more details.
30
21
31
22
<!-- ✅ Manually instrument the application and start sending data to Elastic -->
32
23
### Manually instrument your auto instrumented Python application
@@ -107,7 +98,7 @@ def hello():
107
98
108
99
To confirm that EDOT Python has successfully connected to Elastic:
109
100
110
-
1. Go to **APM** → **Traces**.
101
+
1. Go to **Observability** → **Applications** → **Service Inventory**
111
102
1. You should see the name of the service to which you just added EDOT Python. It can take several minutes after initializing EDOT Python for the service to show up in this list.
112
103
1. Click on the name in the list to see trace data.
0 commit comments