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: README.md
+67Lines changed: 67 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,74 @@ When using custom CA certificate bundles, you must configure both:
157
157
158
158
---
159
159
160
+
## OpenTelemetry
160
161
162
+
Perfecto MCP reports traces and metrics for MCP tool calls using [OpenTelemetry](https://opentelemetry.io/). This gives you visibility into which tools are used, how long they take, and when errors occur.
163
+
164
+
Telemetry is enabled by default. You do not need to configure anything unless you want to change where data is sent or turn it off.
165
+
166
+
### Default behavior
167
+
168
+
By default, telemetry is exported over gRPC to:
169
+
170
+
`https://grpc.public.prd.shared.perforce.com`
171
+
172
+
The service is identified as `perfecto-mcp` with the current release version. If telemetry fails to start or export, the MCP server continues to work as usual.
173
+
174
+
### Turn off telemetry
175
+
176
+
Add `OTEL_SDK_DISABLED=true` to your MCP client environment:
177
+
178
+
```json
179
+
"env": {
180
+
"OTEL_SDK_DISABLED": "true"
181
+
}
182
+
```
183
+
184
+
For Docker, pass it with `-e`:
185
+
186
+
```json
187
+
"-e",
188
+
"OTEL_SDK_DISABLED=true"
189
+
```
190
+
191
+
### Send data to your own collector
192
+
193
+
Use these environment variables to point at a different OpenTelemetry collector (for example, a local one during development):
0 commit comments