becauseyx-hash opened a new issue, #13939:
URL: https://github.com/apache/skywalking/issues/13939

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache SkyWalking Component
   
   OAP server (apache/skywalking)
   
   ### What happened
   
   Error when calling MCP service using Elasticsearch as data source
   The following error occurred when invoking the MCP service with 
Elasticsearch as the data source. The OAP version is 10.2.
   skywalking-mcp/query_traces failed
   
   Parameters:
   
   json
   {
     "end": "now",
     "query_order": "duration",
     "service_id": "cG1zcw==.1",
     "slow_trace_threshold": 1000,
     "start": "-7d",
     "view": "summary"
   }
   Response:
   
   text
   {
     "content": [
       {
         "type": "text",
         "text": "failed to query traces: graphql: Validation error 
(FieldUndefined@[queryTraces]) : Field 'queryTraces' in type 'Query' is 
undefined"
       }
     ],
     "isError": true,
     "historyRunMode": "auto"
   }
   
   
   ### What you expected to happen
   
   done
   
   ### How to reproduce
   
   done
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to