transcodeninja / livepeer-exporter

A Prometheus exporter for Livepeer orchestrator metrics. Fetches and exposes orchestrator metrics from various Livepeer endpoints for Prometheus to scrape.
https://hub.docker.com/r/rickstaa/livepeer-exporter
MIT License
0 stars 0 forks source link

Delegators not removed when they undelegate #99

Open rickstaa opened 8 months ago

rickstaa commented 8 months ago

Describe the bug

I just noticed a minor bug that causes delegators already undelegated to be still returned by livepeer_orch_delegator_bonded_amount.

Reproduction steps

  1. Ensure the exporter is started as explained in the README.
  2. Ensure you delegate and undelegate LPT to your orchestrator in two rounds.
  3. Go to the Grafana Explore tab.
  4. Checkout the livepeer_orch_delegator_bonded_amount metric.
  5. See that the exporter still returns the accounts already undelegated.

Expected behaviour

These undelegated accounts should not be returned.

Screenshots / Live demo link

No response

System information

Additional context

This possible is an easy bug to fix since this data is not returned by the Livepeer Subgraph.

rickstaa commented 8 months ago

It seems that this is fixed after some time 🤔.