Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DashboardHistogram = prometheus.NewHistogram(prometheus.HistogramOpts{ Name: "dashboard_duration_seconds", Help: "The duration of the dashboard rendering in seconds", Buckets: prometheus.DefBuckets, })
DashboardHistogram is an example of histogram metric for the dashboard rendering.
Functions ¶
This section is empty.
Types ¶
type DashboardHandler ¶
type DashboardHandler struct {
// contains filtered or unexported fields
}
DashboardHandler is the http handler to render the dashboard.
func NewDashboardHandler ¶
func NewDashboardHandler(config *config.Config) *DashboardHandler
NewDashboardHandler returns a new DashboardHandler.
func (*DashboardHandler) Handle ¶
func (h *DashboardHandler) Handle() echo.HandlerFunc
Handle handles the http request.
Click to show internal directories.
Click to hide internal directories.