diff --git a/docs/configuration/metrics/cosmosdb.md b/docs/configuration/metrics/cosmos-db.md similarity index 89% rename from docs/configuration/metrics/cosmosdb.md rename to docs/configuration/metrics/cosmos-db.md index 48870e3f8..256d54646 100644 --- a/docs/configuration/metrics/cosmosdb.md +++ b/docs/configuration/metrics/cosmos-db.md @@ -9,7 +9,7 @@ You can declare to scrape Cosmos Db via the `CosmosDb` resource type. The following fields need to be provided: - `dbName`- The name of the Cosmos Db to be scraped -All supported metrics are documented in the official [Azure Monitor documentation](https://docs.microsoft.com/en-us/azure/azure-monitor/platform/metrics-supported#microsoftcontainerinstancecontainergroups). +All supported metrics are documented in the official [Azure Monitor documentation](https://docs.microsoft.com/en-us/azure/azure-monitor/platform/metrics-supported#microsoftdocumentdbdatabaseaccounts). Example: ```yaml diff --git a/docs/configuration/metrics/index.md b/docs/configuration/metrics/index.md index aa2c0cda3..e0c7c5188 100644 --- a/docs/configuration/metrics/index.md +++ b/docs/configuration/metrics/index.md @@ -87,7 +87,7 @@ We also provide a simplified way to configure the following Azure resources: - [Azure Virtual Machine](virtual-machine) - [Azure Network Interface](network-interface) - [Azure Storage Queue](storage-queue) -- [Cosmos DB](cosmosdb) +- [Cosmos DB](cosmos-db) Want to help out? Create an issue and [contribute a new scraper](https://github.com/tomkerkhove/promitor/blob/master/adding-a-new-scraper.md). diff --git a/src/Promitor.Scraper.Host/Validation/MetricDefinitions/ResourceTypes/CosmosDbMetricValidator.cs b/src/Promitor.Scraper.Host/Validation/MetricDefinitions/ResourceTypes/CosmosDbMetricValidator.cs index 53e41ac79..d4d3b02b5 100644 --- a/src/Promitor.Scraper.Host/Validation/MetricDefinitions/ResourceTypes/CosmosDbMetricValidator.cs +++ b/src/Promitor.Scraper.Host/Validation/MetricDefinitions/ResourceTypes/CosmosDbMetricValidator.cs @@ -12,7 +12,7 @@ protected override IEnumerable Validate(CosmosDbMetricDefinition cosmosD if (string.IsNullOrWhiteSpace(cosmosDbMetricDefinition.DbName)) { - yield return "No Cosmos db Name is configured"; + yield return "No Cosmos DB name is configured"; } } }