Skip to content

Commit c96e0ba

Browse files
author
Richard Patel
committed
Initial commit
0 parents  commit c96e0ba

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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+
```

0 commit comments

Comments
 (0)