mirror of
https://github.com/grafana/grafana.git
synced 2025-07-28 21:42:27 +08:00
29 lines
1.1 KiB
Go
29 lines
1.1 KiB
Go
package modules
|
|
|
|
const (
|
|
// All includes all modules necessary for Grafana to run as a standalone server
|
|
All string = "all"
|
|
|
|
Core string = "core"
|
|
MemberlistKV string = "memberlistkv"
|
|
GrafanaAPIServer string = "grafana-apiserver"
|
|
SearchServerRing string = "search-server-ring"
|
|
SearchServerDistributor string = "search-server-distributor"
|
|
StorageServer string = "storage-server"
|
|
ZanzanaServer string = "zanzana-server"
|
|
InstrumentationServer string = "instrumentation-server"
|
|
FrontendServer string = "frontend-server"
|
|
)
|
|
|
|
var dependencyMap = map[string][]string{
|
|
MemberlistKV: {InstrumentationServer},
|
|
SearchServerRing: {InstrumentationServer, MemberlistKV},
|
|
GrafanaAPIServer: {InstrumentationServer},
|
|
StorageServer: {InstrumentationServer, SearchServerRing},
|
|
ZanzanaServer: {InstrumentationServer},
|
|
SearchServerDistributor: {InstrumentationServer, MemberlistKV, SearchServerRing},
|
|
Core: {},
|
|
All: {Core},
|
|
FrontendServer: {},
|
|
}
|