Beispiel #1
0
        /// <summary>
        ///     Constructor
        /// </summary>
        protected Scraper(ScraperConfiguration scraperConfiguration)
        {
            Guard.NotNull(scraperConfiguration, nameof(scraperConfiguration));

            _logger           = scraperConfiguration.Logger;
            _metricSinkWriter = scraperConfiguration.MetricSinkWriter;

            AzureMonitorClient = scraperConfiguration.AzureMonitorClient;
        }
Beispiel #2
0
        /// <summary>
        ///     Constructor
        /// </summary>
        protected Scraper(ScraperConfiguration scraperConfiguration)
        {
            Guard.NotNull(scraperConfiguration, nameof(scraperConfiguration));

            _logger = scraperConfiguration.Logger;
            _prometheusMetricWriter = scraperConfiguration.PrometheusMetricWriter;

            AzureMetadata      = scraperConfiguration.AzureMetadata;
            AzureMonitorClient = scraperConfiguration.AzureMonitorClient;
        }
Beispiel #3
0
        /// <summary>
        ///     Constructor
        /// </summary>
        protected Scraper(ScraperConfiguration scraperConfiguration)
        {
            Guard.NotNull(scraperConfiguration, nameof(scraperConfiguration));

            _metricSinkWriter = scraperConfiguration.MetricSinkWriter;

            Logger             = scraperConfiguration.Logger;
            AzureMonitorClient = scraperConfiguration.AzureMonitorClient;
            AzureScrapingPrometheusMetricsCollector = scraperConfiguration.AzureScrapingPrometheusMetricsCollector;
        }
Beispiel #4
0
 public IoTHubScraper(ScraperConfiguration scraperConfiguration) :
     base(scraperConfiguration)
 {
 }
Beispiel #5
0
 public KeyVaultScraper(ScraperConfiguration scraperConfiguration) :
     base(scraperConfiguration)
 {
 }
Beispiel #6
0
 /// <summary>
 ///     Constructor
 /// </summary>
 protected AzureMonitorScraper(ScraperConfiguration scraperConfiguration) :
     base(scraperConfiguration)
 {
 }
 /// <summary>
 ///     Constructor
 /// </summary>
 protected AppServiceScraper(ScraperConfiguration scraperConfiguration) :
     base(scraperConfiguration)
 {
 }
Beispiel #8
0
 public DeviceProvisioningServiceScraper(ScraperConfiguration scraperConfiguration) :
     base(scraperConfiguration)
 {
 }