PromEx.DashboardRenderer.build

You're seeing just the function build, go back to PromEx.DashboardRenderer module for more information.
Link to this function

build(otp_app, dashboard_relative_path)

View Source

Specs

build(otp_app :: atom(), dashboard_relative_path :: String.t()) :: t()

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.