Hello Deepika, you can absolutely build a single dashboard that shows error-breakdowns for multiple “production” projects. You really have two flavors of approach:
- Multi-resource (one App Insights resource per project)
- Single‐resource with a project identifier in your telemetry
— Let me walk you through both and then show you how to pin a pie chart for each project onto one Azure dashboard.
- Multi-resource approach
• Create (or use) one App Insights instance per project.
• Hook each app’s SDK (or agent) to its own AI resource.
• Point them all at the same Log Analytics workspace if you like central management (optional, but nice for querying).
Once that’s set up, go build a Log-Analytics-based tile:
• Azure Portal → your Azure Dashboard → Edit → + Add tile → Logs
• Choose your Log Analytics workspace (that holds all your AI tables)
• Paste a query like:
union
app('ProjA-AI-Name').exceptions,
app('ProjB-AI-Name').exceptions,
app('ProjC-AI-Name').exceptions
| where timestamp > ago(1d)
| summarize ErrorCount = count() by appName
| render piechart
• Customize time range (say “Last 24 hours”), give it a title, hit “Pin to dashboard.”
That gives you one pie chart with slices per project. If you want separate pie charts per project, just repeat the same but query each app individually and pin three separate tiles.
- Single-resource + custom property
If you’re already sending telemetry from multiple projects into the same AI resource, you need to tag each error with a “Project” dimension so you can group by it. In .NET for example:
TelemetryClient telemetry = new TelemetryClient(...);
var props = new Dictionary<string,string> { ["ProjectName"] = "MyProjectA" };
telemetry.TrackException(ex, props);
Then in Logs:
exceptions
| where timestamp > ago(1d)
| summarize ErrorCount = count() by tostring(customDimensions.ProjectName)
| render piechart
Pin that query to your dashboard, and you’ll get a pie chart that splits by the ProjectName dimension.
Once you have your piecharts pinned, you can:
• Resize & arrange them on a single Dashboard
• Set auto-refresh (e.g. every 5 mins)
• Share the dashboard (make sure folks have at least Reader on the AI resources)
Use Application Insights Workbooks for more interactive multi-tile, multi-project layouts. Workbooks let you parameterize the project name, show tables, time series, maps, etc., all in one living report.
Hope this helps! Thanks.
Reference links for steps above:
• Create an Azure portal dashboard
• Pin Logs queries as tiles
• Multi-resource Kusto union syntax
• Custom dimensions in App Insights SDK
• Application Insights Workbooks overview