turbot/azure_insights

Query: cosmosdb_mongo_database_collection_count

Usage

powerpipe query azure_insights.query.cosmosdb_mongo_database_collection_count

SQL

select
'Collections' as label,
count(*) as value
from
azure_cosmosdb_mongo_database d,
azure_cosmosdb_mongo_collection c
where
lower(d.id) = $1
and c.database_name = d.name;

Dashboards

The query is used in the dashboards: