Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
remove org id flag from whisper importer reader tool
Browse files Browse the repository at this point in the history
  • Loading branch information
replay committed May 31, 2019
1 parent 441cc30 commit 2b56cb0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cmd/mt-whisper-importer-reader/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
var (
httpEndpoint = flag.String(
"http-endpoint",
"http://127.0.0.1:8080/chunks",
"http://127.0.0.1:8080/metrics/import",
"The http endpoint to send the data to",
)
namePrefix = flag.String(
Expand All @@ -48,11 +48,6 @@ var (
false,
"Defines if chunks that have not completed their chunk span should be written",
)
orgId = flag.Int(
"orgid",
1,
"Organization ID the data belongs to ",
)
insecureSSL = flag.Bool(
"insecure-ssl",
false,
Expand Down Expand Up @@ -305,7 +300,6 @@ func getMetric(w *whisper.Whisper, file, name string) (*mdata.ArchiveRequest, er
Time: 0,
Mtype: "gauge",
Tags: []string{},
OrgId: *orgId,
},
}
res.MetricData.SetId()
Expand Down

0 comments on commit 2b56cb0

Please sign in to comment.