Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start Adding Prometheus, Tempo and Grafana #565

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.8"
services:
install_plugins:
# This intermediate service is used to install the plugins
Expand Down Expand Up @@ -33,7 +32,7 @@ services:
timeout: 5s
retries: 5
gatewayd:
image: gatewaydio/gatewayd:latest
image: gatewaydio/gatewayd:v0.8.8
command: [
"run",
"--config", "/gatewayd-files/gatewayd.yaml",
Expand Down Expand Up @@ -66,7 +65,3 @@ services:
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
install_plugins:
condition: service_completed_successfully
11 changes: 11 additions & 0 deletions shared/prometheus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
global:
scrape_interval: 15s
evaluation_interval: 15s

scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'tempo'
static_configs:
- targets: ['tempo:3200']
33 changes: 33 additions & 0 deletions shared/tempo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
auth_enabled: false

server:
http_listen_port: 3200

distributor:
receivers:
jaeger:
zipkin:
otlp:
protocols:
http:
grpc:

ingester:
trace_idle_period: 10s
traces_per_block: 10000

compactor:
compaction:
compaction_window: 1h
block_retention: 1h
compacted_block_retention: 10m

storage:
trace:
backend: local
wal:
path: /tmp/tempo/wal
bloom_filter_false_positive: 0.05
index_downsample: 10
local:
path: /tmp/tempo/traces
Loading