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/reference/central-configuration.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,23 +112,28 @@ Edit the [EDOT Collector configuration](elastic-agent://reference/edot-collector
112
112
113
113
Restart the Elastic Agent to also restart the Collector and apply the changes.
114
114
115
-
::::{note}
116
115
Refer to [Secure connection](elastic-agent://reference/edot-collector/config/default-config-standalone.md#secure-connection) if you need to secure the connection between the EDOT Collector and Elastic using TLS or mutual TLS.
117
-
::::
116
+
118
117
:::::
119
118
120
-
:::::{step} Set the environment variable for the SDKs
119
+
:::::{step} Set the environment variables for the SDKs
121
120
122
121
Activate the central configuration feature in the SDKs by setting the `ELASTIC_OTEL_OPAMP_ENDPOINT` environment variable to the URL endpoint of the `apmconfig` extension that you configured in the previous step. For example:
Restart the instrumented application to apply the changes.
129
134
130
-
:::{note}
131
-
Central configuration uses the `service.name` and `deployment.environment.name` OpenTelemetry resource attributes to target specific instances with a configuration. If no environment is specified, the central configuration feature will match `All` as the environment.
135
+
:::{important}
136
+
Support for the `ELASTIC_OTEL_OPAMP_HEADERS`environment variable depends on each SDK. Refer to the configuration reference of each EDOT SDK for more information.
132
137
:::
133
138
134
139
:::::
@@ -140,8 +145,10 @@ Wait some time for the EDOT SDK to appear in {{kib}} under Agent Configuration.
140
145
1. Go to **{{kib}}** → **Observability** → **Applications** and select a service.
141
146
2. Select **Settings** and go to **Agent Configuration**.
142
147
148
+
Your application must produce and send telemetry data for the EDOT SDK to appear in Agent Configuration. This is because central configuration requires an application name as the key, which can't be defined until the application name is associated with the EDOT SDK agent after receiveing telemetry.
149
+
143
150
:::{note}
144
-
Your application must produce and send telemetry data for the EDOT SDK to appear in Agent Configuration. This is because central configuration requires an application name as the key, which can't be defined until the application name is associated with the EDOT SDK agent after receiveing telemetry.
151
+
Central configuration uses the `service.name`and `deployment.environment.name` OpenTelemetry resource attributes to target specific instances with a configuration. If no environment is specified, the central configuration feature will match `All` as the environment.
0 commit comments