Skip to content

Commit

Permalink
Merge branch 'develop' into feat/promql-funcs8
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiale-Fang committed May 22, 2024
2 parents 480b86e + 65341a3 commit d22ddab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
command: |
cd tools/sigclient
go run main.go ingest esbulk -n 1 -g benchmark -d http://localhost:8081/elastic -t 100_000
go run main.go ingest metrics -d http://localhost:8081 -t 1_000 -m 5 -p 1 -b 10_000 -g benchmark
go run main.go ingest metrics -d http://localhost:8081/otsdb -t 1_000 -m 5 -p 1 -b 10_000 -g benchmark
sleep 40
go run main.go query esbulk -d http://localhost:5122 -f ../../cicd/ingest.csv
go run main.go query otsdb -d http://localhost:5122/otsdb -n 5 -y
Expand Down
2 changes: 1 addition & 1 deletion tools/sigclient/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Different Types of Readers:
### OTSDB
To send ingestion traffic to a server using OTSDB:
```bash
$ go run main.go ingest metrics -d http://localhost:8081 -t 10_000 -m 5 -p 1
$ go run main.go ingest metrics -d http://localhost:8081/otsdb -t 10_000 -m 5 -p 1
```
Options:
```
Expand Down
2 changes: 1 addition & 1 deletion tools/sigclient/pkg/ingest/ingest.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func sendRequest(iType IngestType, client *http.Client, lines []byte, url string
case ESBulk:
requestStr = url + "/_bulk"
case OpenTSDB:
requestStr = url + "/otsdb/api/put"
requestStr = url + "/api/put"

default:
log.Fatalf("unknown ingest type %+v", iType)
Expand Down

0 comments on commit d22ddab

Please sign in to comment.