Azure-docs: More Documentation Needed on Dashboard ARM Templates

Created on 19 Mar 2019  Â·  10Comments  Â·  Source: MicrosoftDocs/azure-docs

More documentation is needed for Dashboard ARM templates. Specifically the various charting elements and options for each. Examples include but are not limited to the valid values for axisType, aggregation, chartType, position, metricAggregation, timeBrushEnable, v2charts, format, granulatity, relative, colSpan, rowSpan, filteredPartIds, and displayCache.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author azure-portasvc doc-enhancement triaged

Most helpful comment

Examples on how to use these with ARM or az cli would also be great.

Currently, a few lengthy JSON examples on the page don't provide many clues on how to automate dashboard creation. That blocks automation scenarios at a larger scale, dozens and hundreds of apps and services.

All 10 comments

@bdschaap Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

Examples on how to use these with ARM or az cli would also be great.

Currently, a few lengthy JSON examples on the page don't provide many clues on how to automate dashboard creation. That blocks automation scenarios at a larger scale, dozens and hundreds of apps and services.

Any progress on this?
It still doesn't look like dashboards are even present in the ARM template reference here:
https://docs.microsoft.com/en-us/azure/templates/

I agree only one doc available on this topic, looking to create dash board with multiple resources ex loadbalancer , vmss and vm so on and get metrics not only metrics but from logs also but didn't work for me at all only on single resource

also the solution provide 2 years ago no update since then, looks like no one looking the issue.

adding @santhoshsomayajula for input

The dashboard resource type is present in the ARM template reference, but no definition of the structure of the DashboardProperties.lenses object, which is what is actually needed.

https://docs.microsoft.com/en-us/azure/templates/microsoft.portal/2019-01-01-preview/dashboards

I have pinned the function app to the dashboards and published it.
After publishing, I'm able to do start/stop the functions from the dashboard
but when browser is refreshed the option to start/stop function becomes read-only.
We have lot of functions, we want to see its status also to start/stop it from the dashboard.

Any help is appreciated. Thanks in advance.

AzureDashboardFunctionStartStopReadOnly

If it helps anyone, I wrote the attached script which creates a dashboard containing a tile for each VM in the subscription. Each tile shows the VM's CPU utilisation over the last 24h.

vm-cpu-dashboard.txt

If if helps anyone, I found the introduction of azure portal dashboard structure in below link (its focus on portal dashboard but I think the structure will be very similar with monitor dashboard), but always can be better that if this can be more richer for more detail or various example here.
https://docs.microsoft.com/en-us/azure/azure-portal/azure-portal-dashboards-structure

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jharbieh picture jharbieh  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

mrdfuse picture mrdfuse  Â·  3Comments

bdcoder2 picture bdcoder2  Â·  3Comments

Favna picture Favna  Â·  3Comments