@@ -213,19 +213,29 @@ make delete-workload-cluster
213
213
> Check out the [ troubleshooting guide] ( ../topics/troubleshooting.md ) for common errors you might run into.
214
214
215
215
#### Viewing Telemetry
216
- The CAPZ controller emits tracing and metrics data. When run in Tilt, the KinD cluster is provisioned with a development
217
- deployment of OpenTelemetry for distributed tracing, and Prometheus for metrics scraping and visualization.
218
216
219
- The OpenTelemetry and Prometheus deployments are for development purposes only. These illustrate the hooks for tracing and
220
- metrics, but lack the robustness of production cluster deployments.
217
+ The CAPZ controller emits tracing and metrics data. When run in Tilt, the KinD management cluster is
218
+ provisioned with development deployments of OpenTelemetry for collecting distributed traces, Jaeger
219
+ for viewing traces, and Prometheus for scraping and visualizing metrics.
221
220
222
- After the Tilt cluster has been initialized, if you followed the [ tracing documentation ] ( ../../../../hack/observability/opentelemetry/readme.md ) ,
223
- you can view distributed traces in the Azure Portal. Open the App Insights resource identified by the
224
- ` AZURE_INSTRUMENTATION_KEY ` you specified, choose "Transaction search" from the "Investigate" menu on the left,
225
- and click "Refresh" or make a specific query of the trace data .
221
+ The OpenTelemetry, Jaeger, and Prometheus deployments are for development purposes only. These
222
+ illustrate the hooks for tracing and metrics, but lack the robustness of production cluster
223
+ deployments. For example, the Jaeger "all-in-one" component only keeps traces in memory, not in a
224
+ persistent store .
226
225
227
- To view metrics, run ` kubectl port-forward -n capz-system prometheus-prometheus-0 9090 ` and open
228
- ` http://localhost:9090 ` to see the Prometheus UI.
226
+ To view traces in the Jaeger interface, wait until the Tilt cluster is fully initialized. Then open
227
+ the Tilt web interface, select the "traces: jaeger-all-in-one" resource, and click "View traces"
228
+ near the top of the screen. Or visit http://localhost:16686/ in your browser. <!-- markdown-link-check-disable-line -->
229
+
230
+ To view traces in App Insights, follow the
231
+ [ tracing documentation] ( ../../../../hack/observability/opentelemetry/readme.md ) before running
232
+ ` make tilt-up ` . Then open the Azure Portal in your browser. Find the App Insights resource you
233
+ specified in ` AZURE_INSTRUMENTATION_KEY ` , choose "Transaction search" on the left, and click
234
+ "Refresh" to see recent trace data.
235
+
236
+ To view metrics in the Prometheus interface, open the Tilt web interface, select the
237
+ "metrics: prometheus-operator" resource, and click "View metrics" near the top of the screen. Or
238
+ visit http://localhost:9090/ in your browser. <!-- markdown-link-check-disable-line -->
229
239
230
240
### Manual Testing
231
241
0 commit comments