title: Add prefix to graphite micrometer event in spring-boot
body: <p>I am using <code>spring-boot 2</code> with <code>graphite</code>. I want to add a prefix to all my metrics.</p>
  
  <pre><code>@Bean
  public MeterRegistry graphiteRegistsry() {
      return new GraphiteMeterRegistry(
             GraphiteConfig.DEFAULT, Clock.SYSTEM,
             (id, convention) -&gt; "prefix." + 
             HierarchicalNameMapper.DEFAULT.toHierarchicalName(id,convention));
  }
  </code></pre>
  
  <p>If I use this code this is actually add prefix, But also create some metrics without the prefix. It seems that their is almost all the  metrics is duplicate. </p>
  
  <p>How can I add this prefix? and that all the metrics that goes to graphite from this app will contains the prefix?</p>
  
  <p>Thanks.</p>