Skip to content

Commit

Permalink
New scrapers should use AzureMonitorScraper instead of Scraper
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkerkhove authored Jan 15, 2020
1 parent c2aa7c4 commit f4ddb64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions adding-a-new-scraper.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ This requires the following steps:

## Scraping

1. Implement a scraper that inherits from `Scraper<TResourceDefinition>`. This will
specify how to call Azure Monitor.
1. Implement a scraper, that inherits from `AzureMonitorScraper<TResourceDefinition>`, which will specify what resource to scrape with Azure Monitor.
2. Hook your new scraper in our `MetricScraperFactory` which determines what scraper
to use for the passed configuration.

Expand Down

0 comments on commit f4ddb64

Please sign in to comment.