mirror of https://github.com/go-redis/redis.git
chore: improve docker config
This commit is contained in:
parent
f16c3a7fee
commit
104c757027
|
@ -18,8 +18,9 @@ services:
|
||||||
- '9000:9000'
|
- '9000:9000'
|
||||||
|
|
||||||
uptrace:
|
uptrace:
|
||||||
image: 'uptrace/uptrace:latest'
|
image: 'uptrace/uptrace:1.1.0'
|
||||||
#image: 'uptrace/uptrace-dev:latest'
|
#image: 'uptrace/uptrace-dev:latest'
|
||||||
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- uptrace_data:/var/lib/uptrace
|
- uptrace_data:/var/lib/uptrace
|
||||||
- ./uptrace.yml:/etc/uptrace/uptrace.yml
|
- ./uptrace.yml:/etc/uptrace/uptrace.yml
|
||||||
|
|
|
@ -124,14 +124,6 @@ alerting:
|
||||||
for: 1m
|
for: 1m
|
||||||
projects: [1]
|
projects: [1]
|
||||||
|
|
||||||
- name: Always firing (for fun and testing)
|
|
||||||
metrics:
|
|
||||||
- process.runtime.go.goroutines as $goroutines
|
|
||||||
query:
|
|
||||||
- $goroutines >= 0 group by host.name
|
|
||||||
for: 1m
|
|
||||||
projects: [1]
|
|
||||||
|
|
||||||
# Create alerts from error logs and span events.
|
# Create alerts from error logs and span events.
|
||||||
create_alerts_from_spans:
|
create_alerts_from_spans:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
Loading…
Reference in New Issue