Skip to content

Exception thrown from GraphiteReporter using 1.5.10 #1508

@tjcutajar

Description

@tjcutajar

I get the following exception when bumping hystrix to 1.5.10

[metrics-graphite-reporter-1-thread-1] ERROR c.codahale.metrics.ScheduledReporter - Exception thrown from GraphiteReporter#report. Exception was suppressed.
java.lang.RuntimeException: Not an event that can be converted to HystrixEventType : COMMAND_MAX_ACTIVE
	at com.netflix.hystrix.HystrixEventType.from(HystrixEventType.java:76)
	at com.netflix.hystrix.HystrixCommandMetrics.getRollingCount(HystrixCommandMetrics.java:258)
	at com.netflix.hystrix.contrib.codahalemetricspublisher.HystrixCodaHaleMetricsPublisherCommand$72.getValue(HystrixCodaHaleMetricsPublisherCommand.java:534)
	at com.netflix.hystrix.contrib.codahalemetricspublisher.HystrixCodaHaleMetricsPublisherCommand$72.getValue(HystrixCodaHaleMetricsPublisherCommand.java:530)
	at com.codahale.metrics.graphite.GraphiteReporter.reportGauge(GraphiteReporter.java:343)
	at com.codahale.metrics.graphite.GraphiteReporter.report(GraphiteReporter.java:243)
	at com.codahale.metrics.ScheduledReporter.report(ScheduledReporter.java:251)
	at com.codahale.metrics.ScheduledReporter$1.run(ScheduledReporter.java:174)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Looks like 1489 is the culprit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions