Skip to content

Commit

Permalink
feat: rename imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Savid committed Sep 28, 2022
1 parent 9cd8c90 commit c8f94ad
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A Prometheus metrics exporter for Ethereum externally owned account and contract
- [Chainlink data feed](https://v2.info.uniswap.org/pairs) contracts

# Usage
Ethereum Address Metrics Exporter requires a config file. An example file can be found [here](https://github.com/savid/ethereum-address-metrics-exporter/blob/master/example_config.yaml).
Ethereum Address Metrics Exporter requires a config file. An example file can be found [here](https://github.com/ethpandaops/ethereum-address-metrics-exporter/blob/master/example_config.yaml).

```
A tool to export the ethereum address state
Expand Down Expand Up @@ -127,13 +127,13 @@ addresses:
## Getting Started
### Download a release
Download the latest release from the [Releases page](https://github.com/savid/ethereum-address-metrics-exporter/releases). Extract and run with:
Download the latest release from the [Releases page](https://github.com/ethpandaops/ethereum-address-metrics-exporter/releases). Extract and run with:
```
./ethereum-address-metrics-exporter --config your-config.yaml
```

### Docker
Available as a docker image at [savid/ethereum-address-metrics-exporter](https://hub.docker.com/r/savid/ethereum-address-metrics-exporter/tags)
Available as a docker image at [ethpandaops/ethereum-address-metrics-exporter](https://hub.docker.com/r/ethpandaops/ethereum-address-metrics-exporter/tags)
#### Images
- `latest` - distroless, multiarch
- `latest-debian` - debian, multiarch
Expand All @@ -142,7 +142,7 @@ Available as a docker image at [savid/ethereum-address-metrics-exporter](https:/

**Quick start**
```
docker run -d --name ethereum-address-metrics-exporter -v $HOST_DIR_CHANGE_ME/config.yaml:/opt/ethereum-address-metrics-exporter/config.yaml -p 9090:9090 -p 5555:5555 -it savid/ethereum-address-metrics-exporter:latest --config /opt/ethereum-address-metrics-exporter/config.yaml;
docker run -d --name ethereum-address-metrics-exporter -v $HOST_DIR_CHANGE_ME/config.yaml:/opt/ethereum-address-metrics-exporter/config.yaml -p 9090:9090 -p 5555:5555 -it ethpandaops/ethereum-address-metrics-exporter:latest --config /opt/ethereum-address-metrics-exporter/config.yaml;
docker logs -f ethereum-address-metrics-exporter;
```

Expand All @@ -159,7 +159,7 @@ helm install ethereum-address-metrics-exporter ethereum-helm-charts/ethereum-add

1. Clone the repo
```sh
go get github.com/savid/ethereum-address-metrics-exporter
go get github.com/ethpandaops/ethereum-address-metrics-exporter
```
2. Change directories
```sh
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"

"github.com/creasty/defaults"
"github.com/savid/ethereum-address-metrics-exporter/pkg/exporter"
"github.com/ethpandaops/ethereum-address-metrics-exporter/pkg/exporter"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"gopkg.in/yaml.v2"
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/savid/ethereum-address-metrics-exporter
module github.com/ethpandaops/ethereum-address-metrics-exporter

go 1.17

// replace github.com/savid/ethereum-address-metrics-exporter/pkg/exporter => ./pkg/ethereum-address-metrics-exporter
// replace github.com/ethpandaops/ethereum-address-metrics-exporter/pkg/exporter => ./pkg/ethereum-address-metrics-exporter

require (
github.com/creasty/defaults v1.6.0
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os/signal"
"syscall"

"github.com/savid/ethereum-address-metrics-exporter/cmd"
"github.com/ethpandaops/ethereum-address-metrics-exporter/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

"github.com/savid/ethereum-address-metrics-exporter/pkg/exporter/jobs"
"github.com/ethpandaops/ethereum-address-metrics-exporter/pkg/exporter/jobs"
)

// Config holds the configuration for the ethereum sync status tool.
Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"net/http"
"time"

"github.com/ethpandaops/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/savid/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/jobs/chainlink_data_feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"time"

"github.com/ethpandaops/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/prometheus/client_golang/prometheus"
"github.com/savid/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/jobs/eoa.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"time"

"github.com/ethpandaops/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/prometheus/client_golang/prometheus"
"github.com/savid/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/jobs/erc1155.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"math/big"
"time"

"github.com/ethpandaops/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/prometheus/client_golang/prometheus"
"github.com/savid/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/jobs/erc20.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"time"

"github.com/ethpandaops/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/prometheus/client_golang/prometheus"
"github.com/savid/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/jobs/erc721.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"time"

"github.com/ethpandaops/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/prometheus/client_golang/prometheus"
"github.com/savid/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/jobs/uniswap_pair.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"time"

"github.com/ethpandaops/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/prometheus/client_golang/prometheus"
"github.com/savid/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/sirupsen/logrus"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/exporter/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package exporter
import (
"context"

"github.com/savid/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/savid/ethereum-address-metrics-exporter/pkg/exporter/jobs"
"github.com/ethpandaops/ethereum-address-metrics-exporter/pkg/exporter/api"
"github.com/ethpandaops/ethereum-address-metrics-exporter/pkg/exporter/jobs"
"github.com/sirupsen/logrus"
)

Expand Down

0 comments on commit c8f94ad

Please sign in to comment.