2023-08-31 21:12:01 +08:00
|
|
|
package modules
|
|
|
|
|
|
|
|
const (
|
|
|
|
// All includes all modules necessary for Grafana to run as a standalone server
|
|
|
|
All string = "all"
|
|
|
|
|
2025-07-01 23:15:10 +08:00
|
|
|
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"
|
2025-08-30 18:27:50 +08:00
|
|
|
OperatorServer string = "operator"
|
2023-08-31 21:12:01 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
var dependencyMap = map[string][]string{
|
2025-07-01 23:15:10 +08:00
|
|
|
MemberlistKV: {InstrumentationServer},
|
|
|
|
SearchServerRing: {InstrumentationServer, MemberlistKV},
|
|
|
|
GrafanaAPIServer: {InstrumentationServer},
|
|
|
|
StorageServer: {InstrumentationServer, SearchServerRing},
|
|
|
|
ZanzanaServer: {InstrumentationServer},
|
|
|
|
SearchServerDistributor: {InstrumentationServer, MemberlistKV, SearchServerRing},
|
|
|
|
Core: {},
|
|
|
|
All: {Core},
|
|
|
|
FrontendServer: {},
|
2025-08-30 18:27:50 +08:00
|
|
|
OperatorServer: {InstrumentationServer},
|
2023-08-31 21:12:01 +08:00
|
|
|
}
|