Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jutaro committed May 5, 2024
1 parent a619e53 commit 4a2ff4c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/backend-ekg/src/Cardano/BM/Backend/Prometheus.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ spawnPrometheus ekg host port prometheusOutput = Async.async $
Gauge g -> renderNamedValue sk (int64Dec g)
Label l -> if isFloat l
then renderNamedValue sk (byteString $ encodeUtf8 l)
else if "{" `T.isPrefixOf` l
then renderLabel sk l -- skip complex values
else mempty
else renderLabel sk l -- skip complex values
_ -> mempty
| (sk,sv) <- samples ]
renderNamedValue :: Text -> Builder -> Builder
Expand Down

0 comments on commit 4a2ff4c

Please sign in to comment.