File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # Pyth Network Prometheus Exporter
2+
3+ ## Summary
4+
5+ Prometheus Exporter for Pyth Network on-chain metrics about a publisher.
6+
7+ ## Building
8+
9+ ### Building from source
10+
11+ The Go 1.17 toolchain or newer is required to build from source.
12+
13+ To pull dependencies and build the publisher program, run the following:
14+
15+ ``` shell
16+ go build -o ./pyth_exporter .
17+ ```
18+
19+ ### Docker image
20+
21+ This program is also available as a Docker image based on [ Alpine Linux] ( https://alpinelinux.org ) .
22+
23+ To build the Docker image from source:
24+
25+ ``` shell
26+ docker build -t db-pyth .
27+ ```
28+
29+ The GitLab CI integration builds Docker images for every branch and release:
30+
31+ ``` shell
32+ # Latest master build
33+ docker pull registry.gitlab.com/blockdaemon/solana/pyth_exporter/master:latest
34+
35+ # Latest tagged release
36+ docker pull registry.gitlab.com/blockdaemon/solana/pyth_exporter:latest
37+ ```
You can’t perform that action at this time.
0 commit comments