wormhole-explorer/analytics
ftocal 0bfd9e554b
Add vaa processing speed metrics in fly, analytics, parser and tx-tracker (#1531)
Co-authored-by: walker-16 <agpazos85@gmail.com>
2024-07-03 11:23:54 -03:00
..
cmd Add fromAddress and toAddress to TransferredToken.Clone (#1515) 2024-06-27 10:38:29 -03:00
config Integrating blockchain watcher data into mongodb (#820) 2023-11-27 12:31:35 -03:00
consumer Add vaa processing speed metrics in fly, analytics, parser and tx-tracker (#1531) 2024-07-03 11:23:54 -03:00
http Integrating blockchain watcher data into mongodb (#820) 2023-11-27 12:31:35 -03:00
internal/metrics Add vaa processing speed metrics in fly, analytics, parser and tx-tracker (#1531) 2024-07-03 11:23:54 -03:00
metric [#1499] Add from_address and to_address to vaa_volume_v3 (#1506) 2024-06-26 14:31:57 -03:00
parser Fix and refactor of analytics (#376) 2023-06-01 16:32:00 -03:00
prices Fix use correct date to obtain prices (#983) 2024-01-12 12:32:31 -03:00
queue Add vaa processing speed metrics in fly, analytics, parser and tx-tracker (#1531) 2024-07-03 11:23:54 -03:00
scripts [1232] New Endpoint for Retrieving Applications Activity Data (#1476) 2024-06-12 16:25:28 -03:00
support Fix and refactor of analytics (#376) 2023-06-01 16:32:00 -03:00
.env.example Fix and refactor of analytics (#376) 2023-06-01 16:32:00 -03:00
.gitignore Fix and refactor of analytics (#376) 2023-06-01 16:32:00 -03:00
Dockerfile Fix and refactor of analytics (#376) 2023-06-01 16:32:00 -03:00
Makefile Fix and refactor of analytics (#376) 2023-06-01 16:32:00 -03:00
README.md Fix and refactor of analytics (#376) 2023-06-01 16:32:00 -03:00
go.mod Fix go dependencies (#1448) 2024-05-28 11:30:41 -03:00
go.sum Fix go dependencies (#1448) 2024-05-28 11:30:41 -03:00

README.md

Config sns topic

aws --profile localstack --endpoint-url=http://localhost:4566 sns create-topic --name vaas-pipeline.fifo --attributes FifoTopic=true,ContentBasedDeduplication=false

Config SQS FIFO with dead letter queue localstack

aws --profile localstack --endpoint-url=http://localhost:4566 sqs create-queue --queue-name=wormhole-vaa-analytic-dlq-queue.fifo --attributes "FifoQueue=true"

aws --profile localstack --endpoint-url=http://localhost:4566 sqs create-queue --queue-name=wormhole-vaa-analytic-queue.fifo --attributes FifoQueue=true,MessageRetentionPeriod=3600,ReceiveMessageWaitTimeSeconds=5,VisibilityTimeout=20,RedrivePolicy=""{\"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:000000000000:wormhole-vaa-analytic-dlq-queue.fifo\",\"maxReceiveCount\":\"2\"}""

Subscribe SQS FIFO to vaas-pipeline.fifo topic

aws --profile localstack --endpoint-url=http://localhost:4566 sns subscribe --topic-arn arn:aws:sns:us-east-1:000000000000:vaas-pipeline.fifo --protocol sqs --notification-endpoint http://localhost:4566/000000000000/wormhole-vaa-analytic-queue.fifo

Check message in the dead letter queue localstack

aws --profile localstack --endpoint-url=http://localhost:4566 sqs receive-message --queue-url=http://localhost:4566/000000000000/wormhole-vaa-analytic-dlq-queue.fifo