Skip to content

Feature/monitoring - #2082

Open
Cmdv wants to merge 2 commits into
masterfrom
feature/monitoring
Open

Feature/monitoring#2082
Cmdv wants to merge 2 commits into
masterfrom
feature/monitoring

add types for metrics and remove unused file

1740cfd
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:x86_64-linux.checks.fourmolu failed Mar 31, 2026 in 5s

Build failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/71zjjzs61656zvjmg2znz0cw54k4jxpi-fourmolu-check.drv

Log

Loaded config from: /nix/store/95jk4c38va9y0g3j0fwdxl48c6448z2n-source/fourmolu.yaml
cardano-db-sync/src/Cardano/DbSync/Metrics.hs
@@ -17,7 +17,7 @@
    withMetricsServer,
  ) where

- import Cardano.DbSync.Types (MetricSetters (..), CacheType(..))
+ import Cardano.DbSync.Types (CacheType (..), MetricSetters (..))
  import Cardano.Prelude
  import Cardano.Slotting.Slot (SlotNo (..), WithOrigin (..), fromWithOrigin)
  import Ouroboros.Network.Block (BlockNo (..))
@@ -96,7 +96,7 @@
                CacheAddress -> Gauge.set hitRate $ mCacheAddressHitRate metrics
                CacheTxIds -> Gauge.set hitRate $ mCacheTxIdsHitRate metrics
          }
-   
+
  withMetricsServer :: Int -> (Metrics -> IO a) -> IO a
  withMetricsServer port action = do
    -- Using both `RegistryT` and `bracket` here is overkill. Unfortunately the