Skip to content

Commit

Permalink
Jaeger server for visualising message traces grasped via Kamon closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
kabirkbr committed Jun 5, 2018
1 parent d16e06a commit 58066b7
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ target/
docs/public/
docs/cucumber-json-report.json
docs/offernet-docs-bookdown/cucumber-json-report.json
docs/offernet-docs-bookdown/cucumber-json-report-processed.json
docs/offernet-docs-bookdown/cucumber-json-report-processed.json
lib/
31 changes: 31 additions & 0 deletions analysis/configs/prometheus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# my global config
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).

# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# - alertmanager:9093

# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: kamon-prometheus

# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.

static_configs:
- targets: ['localhost:9090']


19 changes: 19 additions & 0 deletions analysis/scripts/start_servers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

# launch Zipkin in docker container
# docker run -d -p 9411:9411 openzipkin/zipkin

# launch Jaeger in docker container
docker run -d -e \
COLLECTOR_ZIPKIN_HTTP_PORT=9411 \
-p 5775:5775/udp \
-p 6831:6831/udp \
-p 6832:6832/udp \
-p 5778:5778 \
-p 16686:16686 \
-p 14268:14268 \
-p 9411:9411 \
jaegertracing/all-in-one:latest

# launch Prometheus in docker container
docker run -p 9090:9090 -v $PWD/analysis/configs/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus

0 comments on commit 58066b7

Please sign in to comment.