We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61574d1 commit d97a56fCopy full SHA for d97a56f
crates/apollo-mcp-server/src/server/states/running.rs
@@ -183,10 +183,16 @@ impl ServerHandler for Running {
183
context: RequestContext<RoleServer>,
184
) -> Result<InitializeResult, McpError> {
185
let meter = &meter::METER;
186
- let attributes = vec![KeyValue::new(
187
- TelemetryAttribute::ClientName.to_key(),
188
- request.client_info.name.clone(),
189
- )];
+ let attributes = vec![
+ KeyValue::new(
+ TelemetryAttribute::ClientName.to_key(),
+ request.client_info.name.clone(),
190
+ ),
191
192
+ TelemetryAttribute::ClientVersion.to_key(),
193
+ request.client_info.version.clone(),
194
195
+ ];
196
meter
197
.u64_counter(TelemetryMetric::InitializeCount.as_str())
198
.build()
0 commit comments