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

Tron collector for Exporter #63

Merged
merged 5 commits into from
Sep 5, 2024

Conversation

rodgerjohnson
Copy link
Contributor

@rodgerjohnson rodgerjohnson commented Aug 30, 2024

Added Tron Collector and relevant tests
To verify this exporter working, please setup as below:

Content for: config/exporter_example/config.yml

blockchain: "Tron"
network_name: "Testnet"
network_type: "Testnet"
collector: "tron"
endpoints:
  - url: https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc
    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 up -d --build

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

@JooKop JooKop self-requested a review September 4, 2024 12:41
@JooKop
Copy link

JooKop commented Sep 4, 2024

Tested locally, seems to work as expected 👍

@rodgerjohnson rodgerjohnson merged commit a272dd6 into main Sep 5, 2024
6 checks passed
@rodgerjohnson rodgerjohnson deleted the BCY-692-enable-exporter-monitoring-of-tron branch September 5, 2024 06:59
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