PromEx.DashboardRenderer.build
You're seeing just the function
build
, go back to PromEx.DashboardRenderer module for more information.
Specs
Read the contents of a dashboard file entry. If an EEx version of the file exists,
read that, else fallback to the provided file name. For example, if the requested
dashboard file is ecto.json
, if ecto.json.eex
exists, then that will be returned.
This is more so for convenience so that you don't need to write out .eex
everywhere
given that all PromEx 1st party dashboards are EEx templates.