mirror of https://github.com/go-redis/redis.git
Merge branch 'master' into master
This commit is contained in:
commit
e71399820f
|
@ -12,7 +12,7 @@ services:
|
||||||
timeout: 1s
|
timeout: 1s
|
||||||
retries: 30
|
retries: 30
|
||||||
volumes:
|
volumes:
|
||||||
- ch_data1:/var/lib/clickhouse
|
- ch_data2:/var/lib/clickhouse
|
||||||
ports:
|
ports:
|
||||||
- '8123:8123'
|
- '8123:8123'
|
||||||
- '9000:9000'
|
- '9000:9000'
|
||||||
|
@ -26,17 +26,17 @@ services:
|
||||||
POSTGRES_PASSWORD: uptrace
|
POSTGRES_PASSWORD: uptrace
|
||||||
POSTGRES_DB: uptrace
|
POSTGRES_DB: uptrace
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD-SHELL', 'pg_isready']
|
test: ['CMD-SHELL', 'pg_isready', '-U', 'uptrace', '-d', 'uptrace']
|
||||||
interval: 1s
|
interval: 1s
|
||||||
timeout: 1s
|
timeout: 1s
|
||||||
retries: 30
|
retries: 30
|
||||||
volumes:
|
volumes:
|
||||||
- 'pg_data1:/var/lib/postgresql/data/pgdata'
|
- 'pg_data2:/var/lib/postgresql/data/pgdata'
|
||||||
ports:
|
ports:
|
||||||
- '5432:5432'
|
- '5432:5432'
|
||||||
|
|
||||||
uptrace:
|
uptrace:
|
||||||
image: 'uptrace/uptrace:1.4.7'
|
image: 'uptrace/uptrace:1.5.0'
|
||||||
#image: 'uptrace/uptrace-dev:latest'
|
#image: 'uptrace/uptrace-dev:latest'
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -51,7 +51,7 @@ services:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
||||||
otelcol:
|
otelcol:
|
||||||
image: otel/opentelemetry-collector-contrib:0.58.0
|
image: otel/opentelemetry-collector-contrib:0.70.0
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/otel-collector.yaml:/etc/otelcol-contrib/config.yaml
|
- ./config/otel-collector.yaml:/etc/otelcol-contrib/config.yaml
|
||||||
|
@ -78,5 +78,5 @@ services:
|
||||||
image: redis
|
image: redis
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
ch_data1:
|
ch_data2:
|
||||||
pg_data1:
|
pg_data2:
|
||||||
|
|
|
@ -79,30 +79,30 @@ metrics_from_spans:
|
||||||
description: Spans duration (excluding events)
|
description: Spans duration (excluding events)
|
||||||
instrument: histogram
|
instrument: histogram
|
||||||
unit: microseconds
|
unit: microseconds
|
||||||
value: span.duration / 1000
|
value: .duration / 1000
|
||||||
attrs:
|
attrs:
|
||||||
- span.system
|
- .system
|
||||||
- span.group_id
|
- .group_id
|
||||||
- service.name
|
- service.name
|
||||||
- host.name
|
- host.name
|
||||||
- span.status_code
|
- .status_code
|
||||||
annotations:
|
annotations:
|
||||||
- span.name
|
- display.name
|
||||||
where: not span.is_event
|
where: .event_name = ''
|
||||||
|
|
||||||
- name: uptrace.tracing.events
|
- name: uptrace.tracing.events
|
||||||
description: Events count (excluding spans)
|
description: Events count (excluding spans)
|
||||||
instrument: counter
|
instrument: counter
|
||||||
unit: 1
|
unit: 1
|
||||||
value: span.count
|
value: .count
|
||||||
attrs:
|
attrs:
|
||||||
- span.system
|
- .system
|
||||||
- span.group_id
|
- .group_id
|
||||||
- service.name
|
- .name
|
||||||
- host.name
|
- host.name
|
||||||
annotations:
|
annotations:
|
||||||
- span.event_name
|
- display.name
|
||||||
where: span.is_event
|
where: .is_event = 1
|
||||||
|
|
||||||
##
|
##
|
||||||
## To require authentication, uncomment one of the following sections.
|
## To require authentication, uncomment one of the following sections.
|
||||||
|
@ -247,7 +247,7 @@ smtp_mailer:
|
||||||
##
|
##
|
||||||
## Logging configuration.
|
## Logging configuration.
|
||||||
##
|
##
|
||||||
logs:
|
logging:
|
||||||
# Zap minimal logging level.
|
# Zap minimal logging level.
|
||||||
# Valid values: DEBUG, INFO, WARN, ERROR, DPANIC, PANIC, FATAL.
|
# Valid values: DEBUG, INFO, WARN, ERROR, DPANIC, PANIC, FATAL.
|
||||||
level: INFO
|
level: INFO
|
||||||
|
|
Loading…
Reference in New Issue