Skip to content

Commit

Permalink
chore(release): 📌 pin 0.7.4 SigNoz version and deployment changes
Browse files Browse the repository at this point in the history
Signed-off-by: Prashant Shahi <[email protected]>
  • Loading branch information
prashant-shahi committed Mar 29, 2022
1 parent 3dc94c8 commit 1002ab5
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 48 deletions.
15 changes: 8 additions & 7 deletions deploy/docker-swarm/clickhouse-setup/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,20 @@ services:
retries: 3

alertmanager:
image: signoz/alertmanager:0.5.0
image: signoz/alertmanager:0.6.0
volumes:
- ./alertmanager.yml:/prometheus/alertmanager.yml
- ./data/alertmanager:/data
command:
- '--config.file=/prometheus/alertmanager.yml'
- '--storage.path=/data'
- --queryService.url=http://query-service:8080
- --storage.path=/data
depends_on:
- query-service
deploy:
restart_policy:
condition: on-failure

query-service:
image: signoz/query-service:0.7.3
image: signoz/query-service:0.7.4
command: ["-config=/root/config/prometheus.yml"]
ports:
- "8080:8080"
Expand All @@ -48,10 +49,10 @@ services:
restart_policy:
condition: on-failure
depends_on:
- clickhouse
- clickhouse

frontend:
image: signoz/frontend:0.7.3
image: signoz/frontend:0.7.4
depends_on:
- query-service
ports:
Expand Down
17 changes: 9 additions & 8 deletions deploy/docker/clickhouse-setup/docker-compose.arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,17 @@ services:
retries: 3

alertmanager:
image: signoz/alertmanager:0.5.0
image: signoz/alertmanager:0.6.0
volumes:
- ./alertmanager.yml:/prometheus/alertmanager.yml
- ./data/alertmanager:/data
depends_on:
- query-service
command:
- '--config.file=/prometheus/alertmanager.yml'
- '--storage.path=/data'
- --queryService.url=http://query-service:8080
- --storage.path=/data

query-service:
image: signoz/query-service:0.7.3
image: signoz/query-service:0.7.4
container_name: query-service
command: ["-config=/root/config/prometheus.yml"]
volumes:
Expand All @@ -44,7 +45,7 @@ services:
condition: service_healthy

frontend:
image: signoz/frontend:0.7.3
image: signoz/frontend:0.7.4
container_name: frontend
depends_on:
- query-service
Expand All @@ -66,7 +67,7 @@ services:
# - "14268:14268" # Jaeger receiver
# - "55678:55678" # OpenCensus receiver
# - "55679:55679" # zpages extension
# - "55680:55680" # OTLP gRPC legacy port
# - "55680:55680" # OTLP gRPC legacy receiver
# - "55681:55681" # OTLP HTTP legacy receiver
mem_limit: 2000m
restart: on-failure
Expand All @@ -93,7 +94,7 @@ services:
max-file: "3"
command: ["all"]
environment:
- JAEGER_ENDPOINT=http://otel-collector:14268/api/traces
- JAEGER_ENDPOINT=http://otel-collector:14268/api/traces

load-hotrod:
image: "grubykarol/locust:1.2.3-python3.9-alpine3.12"
Expand Down
14 changes: 5 additions & 9 deletions deploy/docker/clickhouse-setup/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,17 @@ services:
alertmanager:
image: signoz/alertmanager:0.6.0
volumes:
# we no longer need the config file as query services delivers
# the required config now
# - ./alertmanager.yml:/prometheus/alertmanager.yml
- ./data/alertmanager:/data
depends_on:
- query-service
command:
- '--queryService.url=http://query-service:8080'
- '--storage.path=/data'
- --queryService.url=http://query-service:8080
- --storage.path=/data

# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`

query-service:
image: signoz/query-service:0.7.3
image: signoz/query-service:0.7.4
container_name: query-service
command: ["-config=/root/config/prometheus.yml"]
volumes:
Expand All @@ -43,14 +40,13 @@ services:
- GODEBUG=netdns=go
- TELEMETRY_ENABLED=true
- DEPLOYMENT_TYPE=docker-standalone-amd

restart: on-failure
depends_on:
clickhouse:
condition: service_healthy

frontend:
image: signoz/frontend:0.7.3
image: signoz/frontend:0.7.4
container_name: frontend
depends_on:
- query-service
Expand All @@ -72,7 +68,7 @@ services:
# - "14268:14268" # Jaeger receiver
# - "55678:55678" # OpenCensus receiver
# - "55679:55679" # zpages extension
# - "55680:55680" # OTLP gRPC legacy port
# - "55680:55680" # OTLP gRPC legacy receiver
# - "55681:55681" # OTLP HTTP legacy receiver
mem_limit: 2000m
restart: on-failure
Expand Down
20 changes: 9 additions & 11 deletions pkg/query-service/tests/test-deploy/docker-compose.arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ services:
image: altinity/clickhouse-server:21.12.3.32.altinitydev.arm
volumes:
- ./clickhouse-config.xml:/etc/clickhouse-server/config.xml
- ./data/clickhouse/:/var/lib/clickhouse/
healthcheck:
# "clickhouse", "client", "-u ${CLICKHOUSE_USER}", "--password ${CLICKHOUSE_PASSWORD}", "-q 'SELECT 1'"
test: ["CMD", "wget", "--spider", "-q", "localhost:8123/ping"]
Expand All @@ -14,13 +13,12 @@ services:
retries: 3

alertmanager:
image: signoz/alertmanager:0.5.0
volumes:
- ./alertmanager.yml:/prometheus/alertmanager.yml
- ./data/alertmanager:/data
image: signoz/alertmanager:0.6.0
depends_on:
- query-service
command:
- '--config.file=/prometheus/alertmanager.yml'
- '--storage.path=/data'
- --queryService.url=http://query-service:8080
- --storage.path=/data

query-service:
image: signoz/query-service:latest
Expand All @@ -29,9 +27,9 @@ services:
volumes:
- ./prometheus.yml:/root/config/prometheus.yml
- ../dashboards:/root/config/dashboards
- ./data/signoz/:/var/lib/signoz/
- ./data:/var/lib/signoz
ports:
- "8180:8080"
- "8180:8080"
environment:
- ClickHouseUrl=tcp://clickhouse:9000
- STORAGE=clickhouse
Expand Down Expand Up @@ -72,7 +70,7 @@ services:
max-file: "3"
command: ["all"]
environment:
- JAEGER_ENDPOINT=http://otel-collector:14268/api/traces
- JAEGER_ENDPOINT=http://otel-collector:14268/api/traces

load-hotrod:
image: "grubykarol/locust:1.2.3-python3.9-alpine3.12"
Expand All @@ -87,4 +85,4 @@ services:
QUIET_MODE: "${QUIET_MODE:-false}"
LOCUST_OPTS: "--headless -u 10 -r 1"
volumes:
- ../common/locust-scripts:/locust
- ../../../../deploy/docker/common/locust-scripts:/locust
22 changes: 9 additions & 13 deletions pkg/query-service/tests/test-deploy/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,25 @@ services:
retries: 3

alertmanager:
image: signoz/alertmanager:0.5.0
volumes:
- ./alertmanager.yml:/prometheus/alertmanager.yml
image: signoz/alertmanager:0.6.0
depends_on:
- query-service
command:
- '--config.file=/prometheus/alertmanager.yml'
- '--storage.path=/data'
- --queryService.url=http://query-service:8080
- --storage.path=/data

# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`


query-service:
image: signoz/query-service:latest
container_name: query-service
command: ["-config=/root/config/prometheus.yml"]
volumes:
- ./prometheus.yml:/root/config/prometheus.yml
- ../dashboards:/root/config/dashboards
- ./data:/var/lib/signoz
ports:
- "8180:8080"
environment:
- ClickHouseUrl=tcp://clickhouse:9000
- STORAGE=clickhouse
Expand All @@ -37,13 +40,6 @@ services:
depends_on:
clickhouse:
condition: service_healthy
ports:
- "8180:8080"
volumes:
- type: bind
source: ./data
target: /var/lib/signoz
read_only: false

otel-collector:
image: signoz/otelcontribcol:0.43.0
Expand Down

0 comments on commit 1002ab5

Please sign in to comment.