-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4329 from influxdb/md-stress-timestamps
Add support for evenly spaced timestamps
- Loading branch information
Showing
12 changed files
with
201 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
channel_buffer_size = 100000 | ||
|
||
[write] | ||
concurrency = 10 | ||
batch_size = 10000 | ||
batch_interval = "0s" | ||
database = "stress" | ||
precision = "n" | ||
address = "localhost:8086" | ||
reset_database = true | ||
start_date = "2006-Jan-02" | ||
|
||
[[series]] | ||
tick = "10s" | ||
jitter = false | ||
point_count = 1000000 # number of points that will be written for each of the series | ||
measurement = "cpu" | ||
series_count = 100000 | ||
|
||
[[series.tag]] | ||
key = "host" | ||
value = "server" | ||
|
||
[[series.tag]] | ||
key = "location" | ||
value = "loc" | ||
|
||
[[series.field]] | ||
key = "value" | ||
type = "float64-flat" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
channel_buffer_size = 100000 | ||
|
||
[write] | ||
concurrency = 10 | ||
batch_size = 10000 | ||
batch_interval = "0s" | ||
database = "stress" | ||
precision = "n" | ||
address = "localhost:8086" | ||
reset_database = true | ||
start_date = "2006-Jan-02" | ||
|
||
[[series]] | ||
tick = "1ns" | ||
jitter = true | ||
point_count = 100000 # number of points that will be written for each of the series | ||
measurement = "cpu" | ||
series_count = 100000 | ||
|
||
[[series.tag]] | ||
key = "host" | ||
value = "server" | ||
|
||
[[series.tag]] | ||
key = "location" | ||
value = "loc" | ||
|
||
[[series.field]] | ||
key = "value" | ||
type = "float64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
channel_buffer_size = 100000 | ||
|
||
[write] | ||
concurrency = 10 | ||
batch_size = 10000 | ||
batch_interval = "0s" | ||
database = "stress" | ||
precision = "s" | ||
address = "localhost:8086" | ||
reset_database = true | ||
start_date = "2006-Jan-02" | ||
|
||
[[series]] | ||
tick = "5s" | ||
jitter = false | ||
point_count = 10000 # number of points that will be written for each of the series | ||
measurement = "cpu" | ||
series_count = 10000 | ||
|
||
# tag_count = 20 # number of "generic" tags on a series (e.g. tag-key-1=tag-value, ... ,tag-key-20=tag-value) | ||
|
||
[[series.tag]] | ||
key = "host" | ||
value = "server" | ||
|
||
[[series.tag]] | ||
key = "location" | ||
value = "loc" | ||
|
||
[[series.field]] | ||
key = "value" | ||
type = "float64" | ||
|
||
# Doesnt work as expected | ||
## [[series.field]] | ||
## key = "value-2" | ||
## type = "float64-inc" | ||
## | ||
## [[series.field]] | ||
## key = "value-3" | ||
## type = "float64-inc+" | ||
|
||
# Has 80% probability of being a constant value | ||
[[series.field]] | ||
key = "flat_value" | ||
type = "float64-flat" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.