You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "xhrg (via GitHub)" <gi...@apache.org> on 2025/08/19 07:59:51 UTC
[I] [Bug] prometheus sdk IllegalArgumentException [skywalking]
xhrg opened a new issue, #13428:
URL: https://github.com/apache/skywalking/issues/13428
### 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
java.lang.IllegalArgumentException: Incorrect number of labels.
at io.prometheus.client.SimpleCollector.labels(SimpleCollector.java:64) ~[simpleclient-0.6.0.jar:?]
at org.apache.skywalking.oap.server.telemetry.prometheus.BaseMetrics.getMetric(BaseMetrics.java:86) ~[telemetry-prometheus-10.2.0.jar:10.2.0]
at org.apache.skywalking.oap.server.telemetry.prometheus.PrometheusHistogramMetrics.observe(PrometheusHistogramMetrics.java:40) ~[telemetry-prometheus-10.2.0.jar:10.2.0]
at org.apache.skywalking.oap.server.telemetry.api.HistogramMetrics$Timer.finish(HistogramMetrics.java:52) ~[telemetry-api-10.2.0.jar:10.2.0]
at org.apache.skywalking.oap.server.telemetry.api.HistogramMetrics$Timer.close(HistogramMetrics.java:57) ~[telemetry-api-10.2.0.jar:10.2.0]
at org.apache.skywalking.oap.server.analyzer.agent.kafka.provider.handler.LogHandler.handle(LogHandler.java:75) ~[kafka-fetcher-plugin-10.2.0.jar:10.2.0]
at org.apache.skywalking.oap.server.analyzer.agent.kafka.KafkaFetcherHandlerRegister.lambda$runTask$1(KafkaFetcherHandlerRegister.java:122) ~[kafka-fetcher-plugin-10.2.0.jar:10.2.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy.rejectedExecution(ThreadPoolExecutor.java:2053) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:841) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1376) ~[?:?]
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123) ~[?:?]
at org.apache.skywalking.oap.server.analyzer.agent.kafka.KafkaFetcherHandlerRegister.runTask(KafkaFetcherHandlerRegister.java:122) ~[kafka-fetcher-plugin-10.2.0.jar:10.2.0]
at org.apache.skywalking.oap.server.analyzer.agent.kafka.KafkaFetcherHandlerRegister.lambda$start$0(KafkaFetcherHandlerRegister.java:112) ~[kafka-fetcher-plugin-10.2.0.jar:10.2.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
### What you expected to happen
LogReportServiceHTTPHandler.java
LogHandler.java
LogReportServiceGrpcHandler.java
All included “log_in_latency”, but the number is inconsistent
### How to reproduce
Multiple protocols for reporting data
### Anything else
LogReportServiceHTTPHandler.java
LogHandler.java
LogReportServiceGrpcHandler.java
All included "log_in_latency",But the number of parameters is different
### 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: notifications-unsubscribe@skywalking.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] prometheus sdk IllegalArgumentException [skywalking]
Posted by "wankai123 (via GitHub)" <gi...@apache.org>.
wankai123 closed issue #13428: [Bug] prometheus sdk IllegalArgumentException
URL: https://github.com/apache/skywalking/issues/13428
--
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: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org