]> go.fuhry.dev Git - runtime.git/commit
refactor MetricBusService to an interface
authorDan Fuhry <dan@fuhry.com>
Thu, 15 May 2025 14:39:24 +0000 (10:39 -0400)
committerDan Fuhry <dan@fuhry.com>
Thu, 15 May 2025 14:39:24 +0000 (10:39 -0400)
commit534420be32bb2480da02b8a49eb304083d0a8a39
tree2a409488c444c5d266bb971bb2378eecf23604cc
parent967247a688e657d9e203497271e910a8a2d303d2
refactor MetricBusService to an interface

D-Bus metricbus server is being deprecated and being replaced with an https server that registers itself in sd and publishes its own stats.

This is the first step in the refactor, converting `MetricBusService` to an interface and updating all references accordingly. Full implementation will come later.
machines/client.go
machines/coredns_plugin/registry.go
machines/coredns_plugin/stats.go
machines/stats.go
metrics/metricbus/mbclient/dbus_client.go [moved from metrics/metricbus/mbclient/client.go with 85% similarity]
metrics/metricbus/mbclient/dbus_metrics.go [moved from metrics/metricbus/mbclient/metrics.go with 98% similarity]
metrics/metricbus/mbclient/intf.go
metrics/mtls/stats.go