org.springframework.boot.actuate.autoconfigure.metrics.export.newrelic

Class NewRelicPropertiesConfigAdapter

  • All Implemented Interfaces:
    io.micrometer.core.instrument.config.MeterRegistryConfig, 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
    • Constructor Detail

      • NewRelicPropertiesConfigAdapter

        public NewRelicPropertiesConfigAdapter(NewRelicProperties properties)
    • Method Detail

      • 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