Garage staging with telemetry

This commit is contained in:
Alex 2022-02-22 18:30:39 +01:00
parent fe3e529cf6
commit 20ab1f7b8a
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE
3 changed files with 8 additions and 4 deletions

View file

@ -22,5 +22,6 @@ bind_addr = "0.0.0.0:3992"
root_domain = ".garage-staging-web.home.adnab.me" root_domain = ".garage-staging-web.home.adnab.me"
index = "index.html" index = "index.html"
[admin_api] [admin]
bind_addr = "0.0.0.0:3909" api_bind_addr = "0.0.0.0:3909"
trace_sink = "http://10.42.2.21:4317"

View file

@ -28,7 +28,7 @@ job "garage-staging" {
driver = "docker" driver = "docker"
config { config {
image = "dxflrs/amd64_garage:37011a2f6ec680e4b0bbc96fa7fa86d3738d9de8" image = "dxflrs/amd64_garage:884e7f0f04fc04bdf453dade98f31a1511c9a214"
command = "/garage" command = "/garage"
args = [ "server" ] args = [ "server" ]
network_mode = "host" network_mode = "host"

View file

@ -29,6 +29,9 @@ exporters:
processors: processors:
batch: batch:
probabilistic_sampler:
hash_seed: 42
sampling_percentage: 10
extensions: extensions:
health_check: health_check:
@ -42,7 +45,7 @@ service:
pipelines: pipelines:
traces: traces:
receivers: [otlp] receivers: [otlp]
processors: [batch] processors: [probabilistic_sampler, batch]
exporters: [logging, otlp/elastic] exporters: [logging, otlp/elastic]
metrics: metrics:
receivers: [otlp, prometheus] receivers: [otlp, prometheus]