Skip to content

Commit

Permalink
Integrate matching simulation metrics with grafana (#6553)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylanisikdemir authored Dec 11, 2024
1 parent 2bd411b commit 9435ba2
Show file tree
Hide file tree
Showing 13 changed files with 9,903 additions and 4 deletions.
36 changes: 35 additions & 1 deletion docker/buildkite/docker-compose-local-matching-simulation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,31 @@ services:
interval: 15s
timeout: 30s
retries: 10
prometheus:
image: prom/prometheus:v3.0.1
volumes:
- ./prometheus:/etc/prometheus
command:
- '--config.file=/etc/prometheus/matching_simulation_prometheus.yml'
ports:
- '9090:9090'
networks:
services-network:
aliases:
- prometheus
grafana:
image: grafana/grafana:11.4.0
volumes:
- ./grafana:/etc/grafana
user: "1000"
depends_on:
- prometheus
ports:
- '3000:3000'
networks:
services-network:
aliases:
- grafana

matching-simulator:
build:
Expand All @@ -40,16 +65,25 @@ services:
- "CASSANDRA=1"
- "CASSANDRA_SEEDS=cassandra"
depends_on:
prometheus:
condition: service_started
grafana:
condition: service_started
cassandra:
condition: service_healthy
ports: # expose prometheus ports so they can be scraped
- '8306:8306'
- '8307:8307'
- '8308:8308'
- '8309:8309'
volumes:
- ../../:/cadence
- /cadence/.build/ # ensure we don't mount the build directory
- /cadence/.bin/ # ensure we don't mount the bin directory
networks:
services-network:
aliases:
- integration-test
- cadence

networks:
services-network:
Expand Down
3 changes: 3 additions & 0 deletions docker/buildkite/grafana/grafana.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[auth.anonymous]
enabled = true
org_role = Admin
Loading

0 comments on commit 9435ba2

Please sign in to comment.