Commit Graph

21 Commits (5878e822eae34f869688e8a86c13d731afe9d912)

Author SHA1 Message Date
Jonathan A. Sternberg 477d6231db Update source files to pass vet checks for go 1.7
The vet checks for some files did not pass for go 1.7. As part of a
preliminary start to making go 1.7 work with this software, go vet
should pass.

Also updated the gogo/protobuf dependency which fixed the code generator
to work with go 1.7 too. Ran `go generate` on the entire repository to
ensure every file was up to date.
2016-09-14 15:01:22 -05:00
Jonathan A. Sternberg ccd1bd91f4 Copy tags in influx_stress to avoid a concurrent write panic on a map
Removing lock from the same object as that object never does anything
except for having attributes read.
2016-08-01 13:18:21 -05:00
Cory LaNou 1117526873 remove IF EXISTS/IF NOT EXISTS from influxql language 2016-07-29 12:58:05 -05:00
Jonathan A. Sternberg ddf655c222 Fix influx stress point writer
It previously used the content type `application/x-www-form-urlencoded`.
When the HTTP write handler was changed to check an HTTP form parameter
in d96eef4, the body for any POST requests with that content type would
result in an empty body.
2016-03-21 17:34:41 -04:00
Nathaniel Cook 2ce94c4ee9 kapacitor fixes for stress 2016-03-11 17:34:34 -07:00
Michael Desa 11424a889f Fix concurrent map access 2016-03-10 10:06:08 -08:00
Ben Johnson 5a0d1ab7c1 rename influxdb/influxdb to influxdata/influxdb
This commit changes all the import and URL references from:

    github.com/influxdb/influxdb

to:

    github.com/influxdata/influxdb
2016-02-10 10:26:18 -07:00
Michael Desa 7c025d8497 Change db flag message 2015-12-29 13:12:05 -08:00
Michael Desa 3535096a5c Change pps output to int 2015-12-16 10:28:17 -08:00
Jack Zampolin 7d0d9b75d9 Add backoff to retry function
Set backoff constant

Wait to parse flags

Remove unnecessary logging

Fix retry logic
2015-12-14 13:46:40 -08:00
Jack Zampolin 39dc75ea4c Implement retry logic 2015-12-14 13:46:10 -08:00
Michael Desa b1be2d595c Rework outputConfig for influx_stress 2015-12-08 14:19:07 -08:00
Jack Zampolin 8d64c9985e Things!! All the things! 2015-12-08 13:34:55 -08:00
Jack Zampolin 11aaf631e6 Implement WriteHTTPHandler 2015-12-08 11:43:57 -08:00
Michael Desa c7709643b1 Add broadcast channel for stress 2015-12-08 11:10:44 -08:00
Michael Desa f9fa366861 Add querying across cluster
Add support for precision
2015-12-02 14:49:23 -08:00
Michael Desa b0f27beb12 Add support for writing to a cluster 2015-11-30 10:22:12 -08:00
Michael Desa d6b4f64006 Add basichttp write handler 2015-11-27 19:20:29 -08:00
Michael Desa e045e997f7 Update to new v2 client 2015-11-17 14:56:47 -08:00
Michael Desa eb0e760763 Update stress config examples 2015-11-17 14:36:10 -08:00
Michael Desa b86c0d31d7 Refactor stress tool
Add StressTest type and auxillary interfaces

Add config structs

Move generator to config

Add utility methods used in stress

Add basic components for a stress test

Add touches

Add configuration options

Add unified results handlers

Add final print out of results

Add Success function to response type

Add query support

Send query results

Add comments to run.go

Change Basic to BasicWriter

Add basic query

Add incomplete README

Abstract out response handling

Change plugin to basic

Add responseHandler type

Add additional parameter to Query function

Add todo comments and cleanup main

Lower hard coded value

Add flag for profiling

Fix race condition

Wait at the right place

Chane point from struct to interface

Improve generic write throughput

Reorganize

Fastest State

Add toml config

Add test server

Add basic working version of config file

Move config file logic into its own file

Fix broken config file

Add query count to stress config

Add support for concurrency and batch interval

Reorder config option

Remove unneeded init

Remove old stress package

Move new stress code into stress directory

Rework influx_stress tool

Do something reasonable if no config is given

Remove unneeded comments

Add tests for stress package

Add comments and reorganize code

Add more comments

Count lines posted correctly

Add NewConfig method

Fix style issues

Add backticks to flag description

Fix grammar

Remove `StartTimer` calls where appropriate

Fix comment language

Change Reader to Querier

Reorder defer

Fix issues bought up by golint

Add more comments

Add more detailed Readme

Increase counter appropriately

Add return errors where appropriate

Add test coverage

Move `now()` from QueryClient to QueryGenerator
2015-11-17 12:16:31 -08:00