Skip to content

Commit d606a0e

Browse files
docs: Introduce Azure Cognitive Services scraper (#70)
* docs: Add cognitive-services-accounts.md * PR feedbacks * Update mkdocs.yml Co-authored-by: Tom Kerkhove <[email protected]> Signed-off-by: Elham Saber <[email protected]> * Update mkdocs.yml Co-authored-by: Tom Kerkhove <[email protected]> Signed-off-by: Elham Saber <[email protected]> --------- Signed-off-by: Elham Saber <[email protected]> Co-authored-by: Tom Kerkhove <[email protected]>
1 parent 8e2929f commit d606a0e

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
tags:
3+
- Scraper
4+
- Resource Discovery
5+
- Cognitive Services Account
6+
---
7+
8+
# Cognitive Services
9+
10+
![Availability Badge](https://img.shields.io/badge/Available%20Starting-v2.14-green.svg)![Resource Discovery Support Badge](https://img.shields.io/badge/Support%20for%20Resource%20Discovery-Yes-green.svg)
11+
12+
You can scrape an Cognitive Service Account via the `CognitiveServicesAccount`
13+
resource type.
14+
15+
When using declared resources, the following fields need to be provided:
16+
17+
- `cognitiveServicesAccountName` - The name of the Cognitive Services Account.
18+
19+
All supported metrics are documented in the official [Azure Monitor documentation](https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-cognitiveservices-accounts-metrics).
20+
21+
## Example
22+
23+
Here is an example configuration:
24+
25+
```yaml
26+
name: cognitive_services_rate_limit
27+
description: The current ratelimit of the ratelimit key.
28+
resourceType: CognitiveServicesAccount
29+
azureMetricConfiguration:
30+
metricName: Ratelimit
31+
aggregation:
32+
type: Count
33+
dimension:
34+
name: Status
35+
resourceDiscoveryGroups:
36+
- name: cognitive-services-account
37+
```

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ nav:
155155
- Azure Blob Storage: scraping/providers/blob-storage.md
156156
- Azure Cache for Redis: scraping/providers/redis-cache.md
157157
- Azure Cache for Redis Enterprise: scraping/providers/redis-enterprise-cache.md
158+
- Azure Cognitive Services Account: scraping/providers/cognitive-services-account.md
158159
- Azure Content Delivery Network (CDN): scraping/providers/cdn.md
159160
- Azure Container Instances: scraping/providers/container-instances.md
160161
- Azure Container Registry: scraping/providers/container-registry.md
@@ -211,6 +212,7 @@ nav:
211212
- Azure Automation account: scraping/providers/automation-account.md
212213
- Azure Cache for Redis: scraping/providers/redis-cache.md
213214
- Azure Cache for Redis Enterprise: scraping/providers/redis-enterprise-cache.md
215+
- Azure Cognitive Services Account: scraping/providers/cognitive-services-account.md
214216
- Azure Content Delivery Network (CDN): scraping/providers/cdn.md
215217
- Azure Container Instances: scraping/providers/container-instances.md
216218
- Azure Container Registry: scraping/providers/container-registry.md

0 commit comments

Comments
 (0)