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

Cosmos DB Alerts #98

Merged
merged 1 commit into from
Dec 21, 2023
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
1 change: 0 additions & 1 deletion services/DocumentDB/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
title: DocumentDB
geekdocCollapseSection: true
geekdocHidden: true
---
3 changes: 1 addition & 2 deletions services/DocumentDB/databaseAccounts/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: databaseAccounts
geekdocCollapseSection: true
geekdocHidden: true
---

{{< alertList name="alertList" >}}
{{< alertList name="alertList" >}}
124 changes: 110 additions & 14 deletions services/DocumentDB/databaseAccounts/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description: Account requests availability at one hour, day or month granularity
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-21477
Expand All @@ -17,11 +17,18 @@
criterionType: StaticThresholdCriterion
threshold: 98.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: Monitoring Azure Cosmos DB data reference
url: https://learn.microsoft.com/azure/cosmos-db/monitor-reference#availability-metrics
- name: NormalizedRUConsumption
description: Max RU consumption percentage per minute
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-20908
Expand All @@ -36,11 +43,18 @@
criterionType: StaticThresholdCriterion
threshold: 48.0
autoMitigate: false
references:
- name: How to monitor normalized RU/s for an Azure Cosmos DB container or an account
url: https://learn.microsoft.com/en-us/azure/cosmos-db/monitor-normalized-request-units
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: RemoveRegion
description: Region Removed
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-16334
Expand All @@ -55,11 +69,16 @@
criterionType: StaticThresholdCriterion
threshold: 0.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: TotalRequests
description: Number of requests made
description: Number of requests made with status code 429 (Failed Requests)
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-11823
Expand All @@ -79,11 +98,20 @@
- '429'
threshold: 5.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: Monitoring Azure Cosmos DB data reference
url: https://learn.microsoft.com/azure/cosmos-db/monitor-reference#request-metrics
- name: Explore Azure Monitor Azure Cosmos DB insights
url: https://learn.microsoft.com/azure/cosmos-db/insights-overview#insights-overview
- name: SqlContainerDelete
description: Sql Container Deleted
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-8289
Expand All @@ -98,11 +126,16 @@
criterionType: StaticThresholdCriterion
threshold: 0.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: SqlDatabaseDelete
description: Sql Database Deleted
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-8209
Expand All @@ -117,11 +150,16 @@
criterionType: StaticThresholdCriterion
threshold: 0.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: TotalRequestUnits
description: SQL Request Units consumed
description: SQL Request Units consumed with status code 429 (Failed Requests)
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-3159
Expand All @@ -141,11 +179,20 @@
- '429'
threshold: 100.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: Monitoring Azure Cosmos DB data reference
url: https://learn.microsoft.com/azure/cosmos-db/monitor-reference#request-unit-metrics
- name: How to monitor throughput or request unit usage of an operation in Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor-request-unit-usage
- name: ServerSideLatency
description: Server Side Latency
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-2777
Expand All @@ -160,11 +207,18 @@
criterionType: StaticThresholdCriterion
threshold: 5000.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: Monitoring Azure Cosmos DB data reference
url: https://learn.microsoft.com/azure/cosmos-db/monitor-reference#latency-metrics
- name: ProvisionedThroughput
description: Provisioned Throughput
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-1568
Expand All @@ -179,11 +233,18 @@
criterionType: StaticThresholdCriterion
threshold: 3000.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: Monitoring Azure Cosmos DB data reference
url: https://learn.microsoft.com/azure/cosmos-db/monitor-reference#request-unit-metrics
- name: MongoRequests
description: Number of Mongo Requests Made
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-1420
Expand All @@ -198,11 +259,18 @@
criterionType: StaticThresholdCriterion
threshold: 2500.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: Monitoring Azure Cosmos DB data reference
url: https://learn.microsoft.com/azure/cosmos-db/monitor-reference#request-metrics
- name: UpdateAccountKeys
description: Account Keys Updated
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-1397
Expand All @@ -222,11 +290,18 @@
- '*'
threshold: 1.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: Monitor your Azure Cosmos DB account for key updates and key regeneration
url: https://learn.microsoft.com/azure/cosmos-db/monitor-account-key-updates
- name: RegionFailover
description: Region Failed Over
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-1220
Expand All @@ -241,6 +316,11 @@
criterionType: StaticThresholdCriterion
threshold: 0.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: DataUsage
description: Total data usage reported at 5 minutes granularity
type: Metric
Expand All @@ -260,6 +340,13 @@
criterionType: StaticThresholdCriterion
threshold: 10000000000.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: Monitoring Azure Cosmos DB data reference
url: https://learn.microsoft.com/azure/cosmos-db/monitor-reference#storage-metrics
- name: ReplicationLatency
description: P99 Replication Latency across source and target regions for geo-enabled
account
Expand All @@ -280,3 +367,12 @@
criterionType: StaticThresholdCriterion
threshold: 5000.0
autoMitigate: false
references:
- name: Monitor Azure Cosmos DB
url: https://learn.microsoft.com/azure/cosmos-db/monitor?tabs=azure-diagnostics
- name: Create alerts for Azure Cosmos DB using Azure Monitor
url: https://learn.microsoft.com/azure/cosmos-db/create-alerts
- name: Monitoring Azure Cosmos DB data reference
url: https://learn.microsoft.com/azure/cosmos-db/monitor-reference#latency-metrics
- name: Monitor and debug with insights in Azure Cosmos DB
url: https://learn.microsoft.com/en-us/azure/cosmos-db/use-metrics