mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Tempo: Update devenv (#68675)
* Update docker-compose.yaml and tempo.yaml * Add in job label
This commit is contained in:
@@ -1,20 +1,3 @@
|
|||||||
x-logging: &default-logging
|
|
||||||
driver: loki
|
|
||||||
options:
|
|
||||||
loki-url: 'http://localhost:3100/api/prom/push'
|
|
||||||
labels: namespace
|
|
||||||
loki-relabel-config: |
|
|
||||||
- action: replace
|
|
||||||
source_labels: ["namespace","compose_service"]
|
|
||||||
separator: "/"
|
|
||||||
target_label: job
|
|
||||||
- action: replace
|
|
||||||
source_labels: ["container_name"]
|
|
||||||
target_label: instance
|
|
||||||
|
|
||||||
version: "3"
|
|
||||||
services:
|
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: grafana/tns-db:9c1ab38
|
image: grafana/tns-db:9c1ab38
|
||||||
command:
|
command:
|
||||||
@@ -28,7 +11,16 @@ services:
|
|||||||
JAEGER_SAMPLER_PARAM: 1
|
JAEGER_SAMPLER_PARAM: 1
|
||||||
labels:
|
labels:
|
||||||
namespace: tns
|
namespace: tns
|
||||||
logging: *default-logging
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: 'http://localhost:3100/api/prom/push'
|
||||||
|
labels: namespace
|
||||||
|
loki-relabel-config: |
|
||||||
|
- action: replace
|
||||||
|
source_labels: ["namespace","compose_service"]
|
||||||
|
separator: "/"
|
||||||
|
target_label: job
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: grafana/tns-app:9c1ab38
|
image: grafana/tns-app:9c1ab38
|
||||||
@@ -46,7 +38,16 @@ services:
|
|||||||
JAEGER_SAMPLER_PARAM: 1
|
JAEGER_SAMPLER_PARAM: 1
|
||||||
labels:
|
labels:
|
||||||
namespace: tns
|
namespace: tns
|
||||||
logging: *default-logging
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: 'http://localhost:3100/api/prom/push'
|
||||||
|
labels: namespace
|
||||||
|
loki-relabel-config: |
|
||||||
|
- action: replace
|
||||||
|
source_labels: ["namespace","compose_service"]
|
||||||
|
separator: "/"
|
||||||
|
target_label: job
|
||||||
|
|
||||||
loadgen:
|
loadgen:
|
||||||
image: grafana/tns-loadgen:9c1ab38
|
image: grafana/tns-loadgen:9c1ab38
|
||||||
@@ -64,13 +65,16 @@ services:
|
|||||||
JAEGER_SAMPLER_PARAM: 1
|
JAEGER_SAMPLER_PARAM: 1
|
||||||
labels:
|
labels:
|
||||||
namespace: tns
|
namespace: tns
|
||||||
logging: *default-logging
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: 'http://localhost:3100/api/prom/push'
|
||||||
|
labels: namespace
|
||||||
|
|
||||||
tempo:
|
tempo:
|
||||||
image: grafana/tempo:main-9a8474f
|
image: grafana/tempo:main-dcf8a2a
|
||||||
command:
|
command:
|
||||||
- --config.file=/etc/tempo.yaml
|
- --config.file=/etc/tempo.yaml
|
||||||
- --search.enabled=true
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/blocks/tempo/tempo.yaml:/etc/tempo.yaml
|
- ./docker/blocks/tempo/tempo.yaml:/etc/tempo.yaml
|
||||||
- ./docker/blocks/tempo/tempo-data:/tmp/tempo
|
- ./docker/blocks/tempo/tempo-data:/tmp/tempo
|
||||||
@@ -96,7 +100,11 @@ services:
|
|||||||
- "9090:9090"
|
- "9090:9090"
|
||||||
labels:
|
labels:
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
logging: *default-logging
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: 'http://localhost:3100/api/prom/push'
|
||||||
|
labels: namespace
|
||||||
|
|
||||||
loki:
|
loki:
|
||||||
image: grafana/loki:main
|
image: grafana/loki:main
|
||||||
@@ -108,4 +116,8 @@ services:
|
|||||||
- "3100:3100"
|
- "3100:3100"
|
||||||
labels:
|
labels:
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
logging: *default-logging
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: 'http://localhost:3100/api/prom/push'
|
||||||
|
labels: namespace
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
metrics_generator_enabled: true
|
|
||||||
|
|
||||||
server:
|
server:
|
||||||
http_listen_port: 3200
|
http_listen_port: 3200
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user