Class IntervalMetricReader.Builder

    • Method Detail

      • setExportIntervalMillis

        public IntervalMetricReader.Builder setExportIntervalMillis​(long exportIntervalMillis)
        Sets the export interval.
        Parameters:
        exportIntervalMillis - the export interval between pushes to the exporter.
        Returns:
        this.
      • fromConfigMap

        protected IntervalMetricReader.Builder fromConfigMap​(java.util.Map<java.lang.String,​java.lang.String> configMap,
                                                             io.opentelemetry.sdk.common.export.ConfigBuilder.NamingConvention namingConvention)
        Sets the configuration values from the given configuration map for only the available keys.
        Specified by:
        fromConfigMap in class io.opentelemetry.sdk.common.export.ConfigBuilder<IntervalMetricReader.Builder>
        Parameters:
        configMap - Map holding the configuration values.
        Returns:
        this.