package io.dropwizard.metrics
import com.fasterxml.jackson.annotation.JsonTypeNameimport io.dropwizard.metrics.graphite.GraphiteReporterFactory
@JsonTypeName("mygraphite")class MygraphiteReporterFactory extends GraphiteReporterFactory { override def getPrefix() = s"${super.getPrefix}.HOST"}
config.yml has an error: * Failed to parse configuration at: metrics.reporters; Could not resolve type id 'mygraphite' into a subtype of [simple type, class io.dropwizard.metrics.ReporterFactory] at [Source: N/A; line: -1, column: -1] (through reference chain: com.example.Config["metrics"]->io.dropwizard.metrics.MetricsFactory["reporters"])
io.dropwizard.metrics.MygraphiteReporterFactory