Skip to content

Commit

Permalink
Use my own go module
Browse files Browse the repository at this point in the history
  • Loading branch information
lai3d committed Jan 26, 2024
1 parent 1029566 commit f488e5e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ package main
import (
"flag"
"fmt"
"log"
"net/http"
"os"
"strings"
"log"
"github.com/mnadeem/volume_exporter/exporter"

"github.com/lai3d/efs_volume_exporter/exporter"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/prometheus/common/version"
)
Expand Down Expand Up @@ -36,7 +37,7 @@ func main() {
volFlags = volumeFlags{}
)

log.Println("Starting volume_exporter")
log.Println("Starting efs_volume_exporter")

flag.Var(&volFlags.volumeNamePath, "volume-dir", "Volumes to report, the format is volumeName:VolumeDir;\n For example ==> logs:/app/logs; can be used multiple times to provide more than one value")
flag.Parse()
Expand All @@ -58,7 +59,7 @@ func main() {

exporter.Register(&volOpts)

log.Println("Starting volume_exporter", version.Info())
log.Println("Starting efs_volume_exporter", version.Info())
log.Println("Build context", version.BuildContext())

log.Fatal(serverMetrics(*listenAddress, *metricPath))
Expand Down

0 comments on commit f488e5e

Please sign in to comment.