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: modules/ai-agents/pages/mcp/remote/monitor-activity.adoc
+1-23Lines changed: 1 addition & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Every Remote MCP server automatically emits OpenTelemetry traces to a topic call
7
7
8
8
You must have an existing MCP server. If you do not have one, see xref:ai-agents:mcp/remote/quickstart.adoc[].
9
9
10
-
== Understanding the traces topic
10
+
== OpenTelemetry traces topic
11
11
12
12
When you create an MCP server, Redpanda automatically creates the `redpanda.otel_traces` topic in your cluster. This topic stores OpenTelemetry span data in JSON format, following the https://opentelemetry.io/docs/specs/otel/protocol/[OpenTelemetry Protocol (OTLP)] specification.
13
13
@@ -228,7 +228,6 @@ Link MCP server activity to downstream effects:
228
228
229
229
The `redpanda.otel_traces` topic uses standard OpenTelemetry format, making it compatible with popular observability platforms.
230
230
231
-
232
231
=== Grafana Cloud
233
232
234
233
Export traces to Grafana Cloud's managed Tempo service:
@@ -284,24 +283,3 @@ Forward traces to Datadog APM:
284
283
. Convert to Datadog trace format.
285
284
. View in Datadog APM with full correlation.
286
285
287
-
=== Custom dashboards
288
-
289
-
Build custom monitoring dashboards:
290
-
291
-
. Consume traces into your data warehouse (ClickHouse, PostgreSQL)
. Create alerts based on SLOs (Service Level Objectives)
294
-
. Track MCP server health and usage patterns
295
-
296
-
== Best practices
297
-
298
-
* **Retention**: Configure appropriate retention for `redpanda.otel_traces` based on your compliance and debugging needs.
299
-
* **Sampling**: For high-volume servers, implement sampling in your observability pipeline to reduce storage costs.
300
-
* **Alerting**: Set up alerts for error rates, latency spikes, and unusual activity patterns.
301
-
* **Correlation**: Tag traces with request IDs to correlate MCP activity with application behavior.
302
-
* **Privacy**: Be aware that trace data may contain sensitive information from tool inputs and outputs.
303
-
304
-
[TIP]
305
-
====
306
-
Start with a simple dashboard showing request rate and error rate. Gradually add more sophisticated metrics like latency percentiles and tool-specific performance breakdowns as you understand your MCP server's usage patterns.
0 commit comments