MCPcopy
hub / github.com/grafana/tempo / newPrometheus

Function newPrometheus

integration/util/services.go:107–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105}
106
107func newPrometheus() *e2e.HTTPService {
108 s := e2e.NewHTTPService(
109 "prometheus",
110 prometheusImage,
111 e2e.NewCommandWithoutEntrypoint("/bin/prometheus", "--config.file=/etc/prometheus/prometheus.yml", "--web.enable-remote-write-receiver"),
112 e2e.NewHTTPReadinessProbe(9090, "/-/ready", 200, 299),
113 9090,
114 )
115
116 s.SetMetricsTimeout(MetricsTimeout)
117 s.SetBackoff(tempoBackoff())
118 return s
119}
120
121// newAzurite creates a new Azurite service for Azure blob storage emulation
122func newAzurite(port int) *e2e.HTTPService {

Callers 1

runTempoHarnessFunction · 0.85

Calls 1

tempoBackoffFunction · 0.85

Tested by

no test coverage detected