func SetCheckInterval(d time.Duration) {
	adapter.CheckInterval = d
}
SetCheckInterval changes adapter.CheckInterval
package dashboard
import (
	"context"
	"net/http"
	"time"
	"github.com/pingcap/tidb-dashboard/pkg/apiserver"
	"github.com/pingcap/tidb-dashboard/pkg/config"
	"github.com/pingcap/tidb-dashboard/pkg/uiserver"
	"github.com/tikv/pd/pkg/dashboard/adapter"
	_ "github.com/tikv/pd/pkg/dashboard/distro"
	"github.com/tikv/pd/pkg/dashboard/keyvisual"
	ui "github.com/tikv/pd/pkg/dashboard/uiserver"
	"github.com/tikv/pd/server"
)
var (
	apiServiceGroup = server.ServiceGroup{
		Name:       "dashboard-api",
		Version:    "v1",
		IsCore:     false,
		PathPrefix: config.APIPathPrefix,
	}
	uiServiceGroup = server.ServiceGroup{
		Name:       "dashboard-ui",
		Version:    "v1",
		IsCore:     false,
		PathPrefix: config.UIPathPrefix,
	}
)