mirror of
https://github.com/grafana/grafana.git
synced 2025-07-28 21:42:27 +08:00

* update unified storage README with instructions on how to run the distributor locally and fix race condition causing the server to crash on startup randomly
29 lines
1000 B
Go
29 lines
1000 B
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"
|
|
StorageRing string = "storage-ring"
|
|
Distributor string = "distributor"
|
|
StorageServer string = "storage-server"
|
|
ZanzanaServer string = "zanzana-server"
|
|
InstrumentationServer string = "instrumentation-server"
|
|
FrontendServer string = "frontend-server"
|
|
)
|
|
|
|
var dependencyMap = map[string][]string{
|
|
MemberlistKV: {InstrumentationServer},
|
|
StorageRing: {InstrumentationServer, MemberlistKV},
|
|
GrafanaAPIServer: {InstrumentationServer},
|
|
StorageServer: {InstrumentationServer, StorageRing},
|
|
ZanzanaServer: {InstrumentationServer},
|
|
Distributor: {InstrumentationServer, MemberlistKV, StorageRing},
|
|
Core: {},
|
|
All: {Core},
|
|
FrontendServer: {},
|
|
}
|