Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create new aptos collector #62

Merged
merged 9 commits into from
Aug 26, 2024
Merged

Create new aptos collector #62

merged 9 commits into from
Aug 26, 2024

Conversation

tonynguyen-ccl
Copy link
Contributor

@tonynguyen-ccl tonynguyen-ccl commented Aug 22, 2024

  • Refactor the HTTP interface to include get request
  • Add first version of Aptos collector and to the registries

To verify this exporter working, please setup as below:

Content for: config/exporter_example/config.yml

blockchain: "Aptos"
network_name: "Testnet"
network_type: "Testnet"
collector: "aptos"
endpoints:
  - url: https://rpc.ankr.com/http/aptos_testnet/v1/
    provider: Public

Content for: config/exporter_example/validation.yml

allowed_providers:
  - Public

Then follow the instruction in README.md as below:

export CONFIG_FILE_PATH="config/exporter_example/config.yml"
export VALIDATION_FILE_PATH="config/exporter_example/validation.yml"

docker-compose build
docker-compose up -d

curl localhost:8000/metrics # Exporter - can view in web UI too
curl localhost:3000         # Grafana - can view in web UI too
curl localhost:9090         # Prometheus - can view in web UI too

rodgerjohnson
rodgerjohnson previously approved these changes Aug 26, 2024
rodgerjohnson
rodgerjohnson previously approved these changes Aug 26, 2024
@tonynguyen-ccl tonynguyen-ccl merged commit 62b68f9 into main Aug 26, 2024
6 checks passed
@tonynguyen-ccl tonynguyen-ccl deleted the BCY-701-aptos-exporter branch August 26, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants