wormhole-explorer/fly/cmd/backfiller
walker-16 737405054a
446 create prometheus metrics (#457)
* Add vaa metrics

* Add dummy metrics and observations metrics

* Add heartbeat, governorConfig, governorStatus metrics

* fix go.sum

* Add deploy en vars METRICS_ENABLED to fly component

Co-authored-by: ftocal <fert1335@gmail.com>

---------

Co-authored-by: Fernando Torres <fert1335@gmail.com>
2023-06-26 12:47:22 -03:00
..
README.md Fly backfiller (#106) 2023-01-30 10:20:38 -03:00
backfiler.go Fix txHash encoding by chain (#410) 2023-06-15 09:57:39 -03:00
main.go Fix txHash encoding by chain (#410) 2023-06-15 09:57:39 -03:00
txhash_encoding_strategy.go 446 create prometheus metrics (#457) 2023-06-26 12:47:22 -03:00
txhash_strategy.go remove 0x prefix and lowercase the hash (#257) 2023-05-10 17:34:24 -03:00
vaa_strategy.go Fly backfiller (#106) 2023-01-30 10:20:38 -03:00
workpool.go 446 create prometheus metrics (#457) 2023-06-26 12:47:22 -03:00

README.md

generic backfiller

reads a bulk csv dump of stuff (VAAs, TxHash, etc) and upsert it into mongodb

compile

go build

run

./backfiller -strategy vaa -file test.csv

When you run the backfiller must pass a valid strategy Current supported strategies are:

  • vaa for backfilling VAAs
  • txhash for backfilling of txHash

config

The mongodb uri is set via env using the variable MONGODB_URI If is not set it will use the default mongodb://localhost:27017/