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
This is rather question. I defined EXEC metric and experimenting with basic command label=my-label:/bin/sh:-c:echo 1. Is this correct? It doesn't seems so, because I am getting:
ERROR 2017-02-24 13:02:31.514 [kg.apc.p] (): Couldn't get metrics from: [class kg.apc.perfmon.metrics.PerfMonMetricsCreatorImpl]
ERROR 2017-02-24 13:02:31.514 [kg.apc.p] (): No collector object for metric type exec:/bin/sh:-c:echo
ERROR 2017-02-24 13:02:31.514 [kg.apc.p] (): Error executing command
java.lang.RuntimeException: Invalid metric specified: exec:/bin/sh:-c:echo
at kg.apc.perfmon.metrics.AbstractPerfMonMetric.createMetric(AbstractPerfMonMetric.java:57)
at kg.apc.perfmon.PerfMonMetricGetter.setUpMetrics(PerfMonMetricGetter.java:137)
at kg.apc.perfmon.PerfMonMetricGetter.processCommand(PerfMonMetricGetter.java:61)
at kg.apc.perfmon.PerfMonMetricGetter.processNextCommand(PerfMonMetricGetter.java:100)
at kg.apc.perfmon.PerfMonWorker.read(PerfMonWorker.java:197)
at kg.apc.perfmon.PerfMonWorker.processCommands(PerfMonWorker.java:86)
at kg.apc.perfmon.AgentTool.processParams(AgentTool.java:72)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:63)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:174)
Caused by: java.lang.RuntimeException: Couldn't get metrics from: [class kg.apc.perfmon.metrics.PerfMonMetricsCreatorImpl]
at kg.apc.perfmon.metrics.PerfMonMetricsService.getMetric(PerfMonMetricsService.java:51)
at kg.apc.perfmon.metrics.AbstractPerfMonMetric.createMetric(AbstractPerfMonMetric.java:48)
... 13 more
The text was updated successfully, but these errors were encountered:
This is rather question. I defined EXEC metric and experimenting with basic command
label=my-label:/bin/sh:-c:echo 1
. Is this correct? It doesn't seems so, because I am getting:The text was updated successfully, but these errors were encountered: