Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Introduce Azure Cognitive Services scraper #70

Merged
merged 4 commits into from
Apr 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions docs/scraping/providers/cognitive-services-account.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
tags:
- Scraper
- Resource Discovery
- Cognitive Services Account
---

# Cognitive Services

![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)

You can scrape an Cognitive Service Account via the `CognitiveServicesAccount`
resource type.

When using declared resources, the following fields need to be provided:

- `cognitiveServicesAccountName` - The name of the Cognitive Services Account.

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).

## Example

Here is an example configuration:

```yaml
name: cognitive_services_rate_limit
description: The current ratelimit of the ratelimit key.
resourceType: CognitiveServicesAccount
azureMetricConfiguration:
metricName: Ratelimit
aggregation:
type: Count
dimension:
name: Status
resourceDiscoveryGroups:
- name: cognitive-services-account
```
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ nav:
- Azure Blob Storage: scraping/providers/blob-storage.md
- Azure Cache for Redis: scraping/providers/redis-cache.md
- Azure Cache for Redis Enterprise: scraping/providers/redis-enterprise-cache.md
- Azure Cognitive Services Account: scraping/providers/cognitive-services-account.md
- Azure Content Delivery Network (CDN): scraping/providers/cdn.md
- Azure Container Instances: scraping/providers/container-instances.md
- Azure Container Registry: scraping/providers/container-registry.md
Expand Down Expand Up @@ -211,6 +212,7 @@ nav:
- Azure Automation account: scraping/providers/automation-account.md
- Azure Cache for Redis: scraping/providers/redis-cache.md
- Azure Cache for Redis Enterprise: scraping/providers/redis-enterprise-cache.md
- Azure Cognitive Services Account: scraping/providers/cognitive-services-account.md
- Azure Content Delivery Network (CDN): scraping/providers/cdn.md
- Azure Container Instances: scraping/providers/container-instances.md
- Azure Container Registry: scraping/providers/container-registry.md
Expand Down
Loading