Skip to content

Commit

Permalink
chore: remove some exporter values (#3996)
Browse files Browse the repository at this point in the history
those are much better data related query. they don't need the real time aspect provided by grafana

Co-authored-by: Nicolas Burtey <[email protected]>
  • Loading branch information
nicolasburtey and Nicolas Burtey authored Feb 14, 2024
1 parent 235ff4c commit 733d486
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions core/api/src/servers/exporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,6 @@ const main = async () => {
collect: getLndBalance,
})

createGauge({
name: "userCount",
description: "how much users have registered",
collect: async () => {
const value = await Account.countDocuments()
return value
},
})

createGauge({
name: "lnd",
description: "how much money in our node",
Expand Down Expand Up @@ -150,15 +141,6 @@ const main = async () => {
},
})

createGauge({
name: "business",
description: "number of businesses in the app",
collect: async () => {
const value = await Account.countDocuments({ title: { $ne: undefined } })
return value
},
})

const galoyWallets = [
{ name: "dealer_btc", getId: getDealerBtcWalletId },
{ name: "dealer_usd", getId: getDealerUsdWalletId },
Expand Down

0 comments on commit 733d486

Please sign in to comment.