Skip to content

Commit

Permalink
switch to ekg-wai backend from ekg
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmeier committed Oct 22, 2024
1 parent cdb45dd commit ded1f70
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
6 changes: 3 additions & 3 deletions cardano-node/cardano-node.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -168,17 +168,17 @@ library
, deepseq
, directory
, dns
, ekg
, ekg-wai
, ekg-core
, filepath
, formatting
, generic-data
, hostname
, io-classes >= 1.4
, iohk-monitoring < 0.2
, iohk-monitoring ^>= 0.2
, iproute
, lobemo-backend-aggregation
, lobemo-backend-ekg < 0.2
, lobemo-backend-ekg ^>= 0.2
, lobemo-backend-monitoring
, lobemo-backend-trace-forwarder
, mtl
Expand Down
2 changes: 1 addition & 1 deletion cardano-node/src/Cardano/Node/Configuration/Logging.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import Data.Version (showVersion)
import System.Metrics.Counter (Counter)
import System.Metrics.Gauge (Gauge)
import System.Metrics.Label (Label)
import qualified System.Remote.Monitoring as EKG
import qualified System.Remote.Monitoring.Wai as EKG

import Cardano.BM.Backend.Aggregation (plugin)
import Cardano.BM.Backend.EKGView (plugin)
Expand Down
2 changes: 1 addition & 1 deletion cardano-node/src/Cardano/Tracing/Tracers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ import GHC.TypeLits (KnownNat, Nat, natVal)
import qualified System.Metrics.Counter as Counter
import qualified System.Metrics.Gauge as Gauge
import qualified System.Metrics.Label as Label
import qualified System.Remote.Monitoring as EKG
import qualified System.Remote.Monitoring.Wai as EKG


{-# OPTIONS_GHC -Wno-redundant-constraints #-}
Expand Down
2 changes: 1 addition & 1 deletion cardano-tracer/cardano-tracer.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ library
, contra-tracer
, directory
, ekg-core
, ekg-forward >= 0.5
, ekg-forward ^>= 0.6
, ekg-wai
, extra
, filepath
Expand Down
2 changes: 1 addition & 1 deletion trace-dispatcher/bench/trace-dispatcher-bench.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Cardano.Logging.Test.Tracer
import Cardano.Logging.Test.Types

import Data.IORef
import System.Remote.Monitoring (forkServer)
import System.Remote.Monitoring.Wai (forkServer)

import Criterion.Main

Expand Down
2 changes: 1 addition & 1 deletion trace-dispatcher/src/Cardano/Logging/Tracer/EKG.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import qualified System.Metrics as Metrics
import qualified System.Metrics.Counter as Counter
import qualified System.Metrics.Gauge as Gauge
import qualified System.Metrics.Label as Label
import System.Remote.Monitoring (Server, getCounter, getGauge, getLabel)
import System.Remote.Monitoring.Wai (Server, getCounter, getGauge, getLabel)


-- | It is mandatory to construct only one standard tracer in any application!
Expand Down
7 changes: 3 additions & 4 deletions trace-dispatcher/trace-dispatcher.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ library
, containers
, contra-tracer
, deepseq
, ekg
, ekg-wai
, ekg-core
, ekg-forward >= 0.5
, ekg-forward ^>= 0.6
, hostname
, network
, optparse-applicative-fork
Expand Down Expand Up @@ -116,7 +116,6 @@ test-suite trace-dispatcher-test
, cardano-prelude
, containers
, deepseq
, ekg
, ekg-core
, generic-data
, hostname
Expand Down Expand Up @@ -164,7 +163,7 @@ benchmark trace-dispatcher-bench
, aeson
, containers
, criterion
, ekg
, ekg-wai
, text
, time
, trace-dispatcher
Expand Down

0 comments on commit ded1f70

Please sign in to comment.