protected BaseExporter()

in src/Core/Exporters/Concrete/BaseExporter.cs [32:51]


        protected BaseExporter(
            IContentProvider contentProvider,
            IPrometheusUtils prometheusUtils,
            BaseExporterConfiguration baseConfiguration,
            Type componentType,
            ILogger logger)
        {
            ContentProvider = contentProvider;
            PrometheusUtils = prometheusUtils;
            BaseConfiguration = baseConfiguration;
            ComponentType = componentType;
            Logger = logger;
            Collectors = new ConcurrentDictionary<string, Collector>();

            _exporterMetricsLabels = new Dictionary<string, string>()
            {
                { "Exporter", $"{GetType().Name}" },
            };
            _exporterMetricsLabels.TryAdd(BaseConfiguration.DefaultLabels);
        }