From 946b2bf6a9b05b1d3e73ec337ddfd43bf0947624 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Wed, 8 Apr 2026 09:52:13 +0800 Subject: [PATCH 1/2] Change OTLP endpoint from gRPC to HTTP --- docs/copilot/guides/monitoring-agents.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/copilot/guides/monitoring-agents.md b/docs/copilot/guides/monitoring-agents.md index fd1c4e125a..b28fbf1047 100644 --- a/docs/copilot/guides/monitoring-agents.md +++ b/docs/copilot/guides/monitoring-agents.md @@ -141,7 +141,7 @@ The [Aspire Dashboard](https://aspire.dev/dashboard/standalone/) is the simplest ```bash docker run --rm -d \ -p 18888:18888 \ - -p 4317:18889 \ + -p 4318:18890 \ --name aspire-dashboard \ mcr.microsoft.com/dotnet/aspire-dashboard:latest ``` @@ -149,8 +149,7 @@ docker run --rm -d \ ```json { "github.copilot.chat.otel.enabled": true, - "github.copilot.chat.otel.exporterType": "otlp-grpc", - "github.copilot.chat.otel.otlpEndpoint": "http://localhost:4317" + "github.copilot.chat.otel.captureContent": true } ``` From 217c105c57f359721b40e6fb37fc152ed7bc0c5d Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Wed, 8 Apr 2026 10:27:45 +0800 Subject: [PATCH 2/2] Add Aspire Dashboard trace screenshot to monitoring-agents --- docs/copilot/guides/monitoring-agents.md | 2 ++ .../images/monitoring-agents/trace-aspire-dashboard.png | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 docs/copilot/images/monitoring-agents/trace-aspire-dashboard.png diff --git a/docs/copilot/guides/monitoring-agents.md b/docs/copilot/guides/monitoring-agents.md index b28fbf1047..6a07ebe355 100644 --- a/docs/copilot/guides/monitoring-agents.md +++ b/docs/copilot/guides/monitoring-agents.md @@ -155,6 +155,8 @@ docker run --rm -d \ Open `http://localhost:18888` and go to **Traces** to view your agent interaction spans. +![Screenshot showing agent interaction traces in the Aspire Dashboard with spans for invoke_agent, chat, and execute_tool.](../images/monitoring-agents/trace-aspire-dashboard.png) + ### Jaeger [Jaeger](https://www.jaegertracing.io/) is an open-source distributed tracing platform that accepts OTLP directly. diff --git a/docs/copilot/images/monitoring-agents/trace-aspire-dashboard.png b/docs/copilot/images/monitoring-agents/trace-aspire-dashboard.png new file mode 100644 index 0000000000..37ce2bae5a --- /dev/null +++ b/docs/copilot/images/monitoring-agents/trace-aspire-dashboard.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aba833351260c2303f8fd9d964069cc71a99449b283b7b9e4f7cac6f767d10d1 +size 96359