Skip to content

Commit a62b1c0

Browse files
committed
chore: rename repo to ev-metrics
1 parent 7ce6b43 commit a62b1c0

File tree

8 files changed

+27
-27
lines changed

8 files changed

+27
-27
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.idea
22
vendor
33
build
4-
da-monitor
4+
ev-metrics
55
.gocache

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN go mod download
1414
COPY . .
1515

1616
# build binary
17-
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o da-monitor .
17+
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o ev-metrics .
1818

1919
# final stage
2020
FROM alpine:latest
@@ -24,6 +24,6 @@ RUN apk --no-cache add ca-certificates
2424
WORKDIR /app
2525

2626
# copy binary from builder
27-
COPY --from=builder /build/da-monitor .
27+
COPY --from=builder /build/ev-metrics .
2828

29-
ENTRYPOINT ["/app/da-monitor"]
29+
ENTRYPOINT ["/app/ev-metrics"]

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ help:
66
@echo " make lint - run linters on the codebase"
77
@echo " make lint-fix - run linters and auto-fix issues where possible"
88
@echo " make test - run all tests"
9-
@echo " make build - build the da-monitor binary"
10-
@echo " make install - install da-monitor to GOPATH/bin"
9+
@echo " make build - build the ev-metrics binary"
10+
@echo " make install - install ev-metrics to GOPATH/bin"
1111
@echo " make clean - remove build artifacts"
1212

1313
# run golangci-lint on the codebase
@@ -27,15 +27,15 @@ test:
2727

2828
# build the binary
2929
build:
30-
@echo "Building da-monitor..."
31-
go build -o da-monitor
30+
@echo "Building ev-metrics..."
31+
go build -o ev-metrics
3232

3333
# install to GOPATH/bin
3434
install:
35-
@echo "Installing da-monitor..."
35+
@echo "Installing ev-metrics..."
3636
go install
3737

3838
# clean build artifacts
3939
clean:
4040
@echo "Cleaning build artifacts..."
41-
rm -f da-monitor
41+
rm -f ev-metrics

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@ Data Availability monitoring tool for rollups using Celestia DA. This tool monit
1616

1717
```bash
1818
# Clone the repository
19-
git clone https://github.com/01builders/da-monitor.git
20-
cd da-monitor
19+
git clone https://github.com/01builders/ev-metrics.git
20+
cd ev-metrics
2121

2222
# Install dependencies
2323
go mod download
2424

2525
# Build the binary
26-
go build -o da-monitor
26+
go build -o ev-metrics
2727
```
2828

2929
### Running the Monitor
3030

3131
The monitor command streams EVM block headers and verifies DA submission on Celestia:
3232

3333
```bash
34-
./da-monitor monitor \
34+
./ev-metrics monitor \
3535
--header-namespace collect_testnet_header \
3636
--data-namespace collect_testnet_data
3737
```
@@ -40,7 +40,7 @@ The monitor command streams EVM block headers and verifies DA submission on Cele
4040
### Enable Prometheus Metrics
4141

4242
```bash
43-
./da-monitor monitor \
43+
./ev-metrics monitor \
4444
--header-namespace collect_testnet_header \
4545
--data-namespace collect_testnet_data \
4646
--enable-metrics \
@@ -72,7 +72,7 @@ Metrics will be available at `http://localhost:2112/metrics`
7272
### Example with Custom Endpoints
7373

7474
```bash
75-
./da-monitor monitor \
75+
./ev-metrics monitor \
7676
--header-namespace collect_testnet_header \
7777
--data-namespace collect_testnet_data \
7878
--evnode-addr "http://my-evnode:7331" \

cmd/monitor.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99
"os"
1010
"time"
1111

12-
"github.com/01builders/da-monitor/internal/celestia"
13-
"github.com/01builders/da-monitor/internal/evm"
14-
"github.com/01builders/da-monitor/internal/evnode"
15-
"github.com/01builders/da-monitor/internal/metrics"
12+
"github.com/01builders/ev-metrics/internal/celestia"
13+
"github.com/01builders/ev-metrics/internal/evm"
14+
"github.com/01builders/ev-metrics/internal/evnode"
15+
"github.com/01builders/ev-metrics/internal/metrics"
1616
"github.com/prometheus/client_golang/prometheus/promhttp"
1717
"github.com/rs/zerolog"
1818
"github.com/spf13/cobra"

cmd/verifier.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package cmd
22

33
import (
44
"context"
5-
"github.com/01builders/da-monitor/internal/celestia"
6-
"github.com/01builders/da-monitor/internal/evm"
7-
"github.com/01builders/da-monitor/internal/evnode"
8-
"github.com/01builders/da-monitor/internal/metrics"
5+
"github.com/01builders/ev-metrics/internal/celestia"
6+
"github.com/01builders/ev-metrics/internal/evm"
7+
"github.com/01builders/ev-metrics/internal/evnode"
8+
"github.com/01builders/ev-metrics/internal/metrics"
99
"github.com/ethereum/go-ethereum/core/types"
1010
"github.com/rs/zerolog"
1111
"time"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/01builders/da-monitor
1+
module github.com/01builders/ev-metrics
22

33
go 1.24.6
44

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import (
44
"fmt"
55
"os"
66

7-
"github.com/01builders/da-monitor/cmd"
7+
"github.com/01builders/ev-metrics/cmd"
88
"github.com/spf13/cobra"
99
)
1010

1111
func main() {
1212
rootCmd := &cobra.Command{
13-
Use: "da-monitor",
13+
Use: "ev-metrics",
1414
Short: "DA monitoring tool for ev-node data availability",
1515
}
1616

0 commit comments

Comments
 (0)