Class NewRelicPropertiesConfigAdapter

All Implemented Interfaces:
io.micrometer.core.instrument.config.MeterRegistryConfig, io.micrometer.core.instrument.push.PushRegistryConfig, io.micrometer.core.instrument.step.StepRegistryConfig, io.micrometer.newrelic.NewRelicConfig

public class NewRelicPropertiesConfigAdapter extends StepRegistryPropertiesConfigAdapter<NewRelicProperties> implements io.micrometer.newrelic.NewRelicConfig
Adapter to convert NewRelicProperties to a NewRelicConfig.
Since:
2.0.0
Author:
Jon Schneider, Neil Powell
  • Constructor Details

    • NewRelicPropertiesConfigAdapter

      public NewRelicPropertiesConfigAdapter(NewRelicProperties properties)
  • Method Details

    • prefix

      public String prefix()
      Specified by:
      prefix in interface io.micrometer.core.instrument.config.MeterRegistryConfig
      Specified by:
      prefix in interface io.micrometer.newrelic.NewRelicConfig
    • meterNameEventTypeEnabled

      public boolean meterNameEventTypeEnabled()
      Specified by:
      meterNameEventTypeEnabled in interface io.micrometer.newrelic.NewRelicConfig
    • eventType

      public String eventType()
      Specified by:
      eventType in interface io.micrometer.newrelic.NewRelicConfig
    • clientProviderType

      public io.micrometer.newrelic.ClientProviderType clientProviderType()
      Specified by:
      clientProviderType in interface io.micrometer.newrelic.NewRelicConfig
    • apiKey

      public String apiKey()
      Specified by:
      apiKey in interface io.micrometer.newrelic.NewRelicConfig
    • accountId

      public String accountId()
      Specified by:
      accountId in interface io.micrometer.newrelic.NewRelicConfig
    • uri

      public String uri()
      Specified by:
      uri in interface io.micrometer.newrelic.NewRelicConfig