nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

commit e9b0afc41d785ecdb922c7d5fc75cd65f3964783
parent 4f5b8caa517fd350bc45755e1d870512f840cb8c
Author: mtmn <miro@haravara.org>
Date:   Sun, 19 Apr 2026 13:07:23 +0200

fix: remove tempo

Diffstat:
Mmodules/services/monitoring.nix | 71-----------------------------------------------------------------------
1 file changed, 0 insertions(+), 71 deletions(-)

diff --git a/modules/services/monitoring.nix b/modules/services/monitoring.nix @@ -225,47 +225,6 @@ in { }; }; - tempo = { - enable = true; - settings = { - server = { - http_listen_address = "127.0.0.1"; - http_listen_port = 3200; - grpc_listen_address = "127.0.0.1"; - grpc_listen_port = 9096; - }; - distributor.receivers.otlp.protocols.grpc.endpoint = "127.0.0.1:4317"; - ingester = { - trace_idle_period = "10s"; - max_block_duration = "5m"; - }; - compactor.compaction.block_retention = "48h"; - metrics_generator = { - ring.kvstore.store = "inmemory"; - storage = { - path = "/var/lib/tempo/generator/wal"; - remote_write = [ - { - url = "http://127.0.0.1:8428/api/v1/write"; - send_exemplars = true; - } - ]; - }; - processor = { - service_graphs = {}; - span_metrics = {}; - local_blocks = {}; - }; - }; - overrides.defaults.metrics_generator.processors = ["service-graphs" "span-metrics" "local-blocks"]; - storage.trace = { - backend = "local"; - local.path = "/var/lib/tempo/traces"; - wal.path = "/var/lib/tempo/wal"; - }; - }; - }; - alloy = { enable = true; configPath = pkgs.writeText "alloy-config.river" '' @@ -309,26 +268,6 @@ in { host = "${config.networking.hostName}", } } - - // ── Traces ────────────────────────────────────────────────────────── - - otelcol.receiver.otlp "default" { - http { - endpoint = "127.0.0.1:4318" - } - output { - traces = [otelcol.exporter.otlp.tempo.input] - } - } - - otelcol.exporter.otlp "tempo" { - client { - endpoint = "127.0.0.1:4317" - tls { - insecure = true - } - } - } ''; }; @@ -356,10 +295,6 @@ in { name = "Loki"; orgId = 1; } - { - name = "Tempo"; - orgId = 1; - } ]; datasources = [ { @@ -374,12 +309,6 @@ in { type = "loki"; url = "http://127.0.0.1:3100"; } - { - name = "Tempo"; - type = "tempo"; - url = "http://127.0.0.1:3200"; - uid = "DS_TEMPO"; - } ]; }; dashboards.settings.providers = [