diff --git a/app/garage-staging/config/garage.toml b/app/garage-staging/config/garage.toml index ca28b79..037dfe6 100644 --- a/app/garage-staging/config/garage.toml +++ b/app/garage-staging/config/garage.toml @@ -22,5 +22,6 @@ bind_addr = "0.0.0.0:3992" root_domain = ".garage-staging-web.home.adnab.me" index = "index.html" -[admin_api] -bind_addr = "0.0.0.0:3909" +[admin] +api_bind_addr = "0.0.0.0:3909" +trace_sink = "http://10.42.2.21:4317" diff --git a/app/garage-staging/deploy/garage.hcl b/app/garage-staging/deploy/garage.hcl index 44aa0c9..671ab97 100644 --- a/app/garage-staging/deploy/garage.hcl +++ b/app/garage-staging/deploy/garage.hcl @@ -28,7 +28,7 @@ job "garage-staging" { driver = "docker" config { - image = "dxflrs/amd64_garage:37011a2f6ec680e4b0bbc96fa7fa86d3738d9de8" + image = "dxflrs/amd64_garage:884e7f0f04fc04bdf453dade98f31a1511c9a214" command = "/garage" args = [ "server" ] network_mode = "host" diff --git a/app/telemetry/config/otel-config.yaml b/app/telemetry/config/otel-config.yaml index 6749ee3..e1d6d78 100644 --- a/app/telemetry/config/otel-config.yaml +++ b/app/telemetry/config/otel-config.yaml @@ -29,6 +29,9 @@ exporters: processors: batch: + probabilistic_sampler: + hash_seed: 42 + sampling_percentage: 10 extensions: health_check: @@ -42,7 +45,7 @@ service: pipelines: traces: receivers: [otlp] - processors: [batch] + processors: [probabilistic_sampler, batch] exporters: [logging, otlp/elastic] metrics: receivers: [otlp, prometheus]