Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Modules = fx.Options( fx.Provide( newAPIHandlerEngine, newClients, dbstore.NewDBStore, httpc.NewHTTPClient, pd.NewEtcdClient, pd.NewPDClient, tso.NewTSOClient, scheduling.NewSchedulingClient, config.NewDynamicConfigManager, tidb.NewTiDBClient, tikv.NewTiKVClient, tiflash.NewTiFlashClient, ticdc.NewTiCDCClient, tiproxy.NewTiProxyClient, utils.ProvideSysSchema, apiutils.NewNgmProxy, info.NewService, clusterinfo.NewService, logsearch.NewService, diagnose.NewService, keyvisual.NewService, metrics.NewService, queryeditor.NewService, configuration.NewService, ), user.Module, codeauth.Module, sqlauth.Module, ssoauth.Module, code.Module, sso.Module, profiling.Module, conprof.Module, statement.Module, slowquery.Module, debugapi.Module, topsql.Module, visualplan.Module, deadlock.Module, resourcemanager.Module, )
View Source
var StoppedHandler = http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) { w.WriteHeader(http.StatusNotFound) _, _ = io.WriteString(w, "Dashboard is not started.\n") })
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(cfg *config.Config, stoppedHandler http.Handler, uiAssetFS http.FileSystem, customKeyVisualProvider *keyvisualregion.DataProvider) *Service
func (*Service) NewStatusAwareHandler ¶
Directories ¶
Path | Synopsis |
---|---|
conprof is short for continuous profiling
|
conprof is short for continuous profiling |
Click to show internal directories.
Click to hide internal directories.