Categorygithub.com/open-telemetry/opentelemetry-collector-contrib/receiver/scraperhelper

# Functions

AddScraper configures the provided scrape function to be called with the specified options, and at the specified collection interval.
DefaultScraperControllerSettings returns default scraper controller settings with a collection interval of one minute.
NewMetricsScraper creates a Scraper that calls Scrape at the specified collection interval, reports observability information, and passes the scraped metrics to the next consumer.
NewResourceMetricsScraper creates a Scraper that calls Scrape at the specified collection interval, reports observability information, and passes the scraped resource metrics to the next consumer.
NewScraperControllerReceiver creates a Receiver with the configured options, that can control multiple scrapers.
WithShutdown sets the function that will be called on shutdown.
WithStart sets the function that will be called on startup.
WithTickerChannel allows you to override the scraper controllers ticker channel to specify when scrape is called.

# Structs

ScraperControllerSettings defines common settings for a scraper controller configuration.

# Interfaces

Scraper is the base interface for scrapers.

# Type aliases

ScrapeMetrics scrapes metrics.
ScraperControllerOption apply changes to internal options.
ScrapeResourceMetrics scrapes resource metrics.
ScraperOption apply changes to internal options.