Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skywalking v9.4版本alarms信息查询异常 #139

Open
zimu312500 opened this issue May 18, 2023 · 1 comment
Open

skywalking v9.4版本alarms信息查询异常 #139

zimu312500 opened this issue May 18, 2023 · 1 comment

Comments

@zimu312500
Copy link

"2023-05-18T19:44:23.956+08:00" "ERROR" "com.autohome.frostmourne.monitor.config.GlobalControllerAdvice" "38" "org.springframework.web.client.HttpClientErrorException.BadRequest" "400 Ba
d Request: [{""errors"":[{""message"":""Validation error (FieldUndefined@[getAlarm/total]) : Field 'total' in type 'Alarms' is undefined"",""locations"":[{""line"":28,""column"":7}],""extensions"":{"
"classification"":""ValidationError""}}]}]" "global catch exception" "com.autohome.frostmourne.monitor.config.GlobalControllerAdvice" "handleException" "-" "-" "tech"
"frostmourne" "frostmourne.monitor" "-" "210" "http-nio-10054-exec-7" "-" "10.244.12.197" "-" "-" "-" "-" "org.springframework.web.client.HttpClientErrorExceptio
n$BadRequest: 400 Bad Request: [{""errors"":[{""message"":""Validation error (FieldUndefined@[getAlarm/total]) : Field 'total' in type 'Alarms' is undefined"",""locations"":[{""line"":28,""column"":7
}],""extensions"":{""classification"":""ValidationError""}}]}]
at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:101)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:184)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:125)
at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:782)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:740)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:674)
at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:449)
at com.autohome.frostmourne.monitor.dao.skywalking.impl.SkywalkingDao.queryAlarms(SkywalkingDao.java:77)
at com.autohome.frostmourne.monitor.dao.skywalking.impl.SkywalkingDao$$FastClassBySpringCGLIB$$8b48230b.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)
at com.autohome.frostmourne.monitor.dao.skywalking.impl.SkywalkingDao$$EnhancerBySpringCGLIB$$bf42db25.queryAlarms()
at com.autohome.frostmourne.monitor.service.core.query.impl.SkywalkingDataQuery.queryMetricData(SkywalkingDataQuery.java:84)
at com.autohome.frostmourne.monitor.service.core.metric.skywalking.SkywalkingNumericMetric.pullMetricData(SkywalkingNumericMetric.java:31)
at com.autohome.frostmourne.monitor.service.core.metric.AbstractNumericMetric.pullMetric(AbstractNumericMetric.java:33)
at com.autohome.frostmourne.monitor.controller.AlarmController.httpTest(AlarmController.java:66)
at sun.reflect.GeneratedMethodAccessor427.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

@LittleShrimp1987
Copy link
Collaborator

skywalking新版本去掉了total字段,还没有适配新版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants