Class StackdriverPropertiesConfigAdapter

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

public class StackdriverPropertiesConfigAdapter extends StepRegistryPropertiesConfigAdapter<StackdriverProperties> implements io.micrometer.stackdriver.StackdriverConfig
Adapter to convert StackdriverProperties to a StackdriverConfig.
Since:
2.3.0
Author:
Johannes Graf
  • Constructor Details

    • StackdriverPropertiesConfigAdapter

      public StackdriverPropertiesConfigAdapter(StackdriverProperties 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.stackdriver.StackdriverConfig
    • projectId

      public String projectId()
      Specified by:
      projectId in interface io.micrometer.stackdriver.StackdriverConfig
    • resourceType

      public String resourceType()
      Specified by:
      resourceType in interface io.micrometer.stackdriver.StackdriverConfig
    • resourceLabels

      public Map<String,String> resourceLabels()
      Specified by:
      resourceLabels in interface io.micrometer.stackdriver.StackdriverConfig
    • useSemanticMetricTypes

      public boolean useSemanticMetricTypes()
      Specified by:
      useSemanticMetricTypes in interface io.micrometer.stackdriver.StackdriverConfig
    • metricTypePrefix

      public String metricTypePrefix()
      Specified by:
      metricTypePrefix in interface io.micrometer.stackdriver.StackdriverConfig