Commit 9556c87c authored by Daniel Seybold's avatar Daniel Seybold
Browse files

finished first implementation for tsbs test run

parent f0868e18
Pipeline #80495 failed with stage
in 13 minutes and 28 seconds
......@@ -50,6 +50,7 @@ paths:
- COCKROACHDB
- RIAK
- ELASTICSEARCH
- POSTGRESQL
required: true
- name: dbmsConfiguration
description: a custom string to describe relevant dbms configuration |
......@@ -127,6 +128,7 @@ paths:
- COCKROACHDB
- RIAK
- ELASTICSEARCH
- POSTGRESQL
required: true
- name: dbmsConfiguration
description: a custom string to describe relevant dbms configuration |
......@@ -199,14 +201,10 @@ paths:
type: string
enum:
- CASSANDRA
- COUCHBASE
- MONGODB
- COCKROACHDB
- RIAK
- ELASTICSEARCH
- INFLUXDB
- POSTGRESQL
- TIMESCALE
- TIMESCALEDB
required: true
- name: dbmsConfiguration
description: a custom string to describe relevant dbms configuration |
......@@ -2129,21 +2127,31 @@ definitions:
properties:
dbEndpoints:
$ref: '#/definitions/DBEndpoints'
tsbsDataConfig:
$ref: '#/definitions/TSBSDataConfig'
tsbsLoadConfig:
$ref: '#/definitions/TSBSLoadConfig'
tsbsQueryConfig:
$ref: '#/definitions/TSBSQueryConfig'
dbms:
type: string
enum:
- influx
- timescaledb
- mongodb
- cassandra
description: 'specifies the data format for the selected DBMS'
example: 'influx'
tsbsDataGeneration:
$ref: '#/definitions/TSBSDataGeneration'
tsbsLoadExecution:
$ref: '#/definitions/TSBSLoadExecution'
tsbsQueryGeneration:
$ref: '#/definitions/TSBSQueryGeneration'
tsbsQueryExecution:
$ref: '#/definitions/TSBSQueryExecution'
TSBSDataConfig:
TSBSDataGeneration:
type: object
description: "parameters for the data generation phase"
properties:
usecase:
type: string
description: 'TODO'
description: 'TSBBS supports currently: devops, iot '
example: 'cpu-only'
seed:
type: number
......@@ -2162,24 +2170,34 @@ definitions:
endTime:
type: string
description: 'ending timestamp for generating the data'
example: '2016-01-04T00:00:00Z'
example: '2016-01-01T01:00:00Z'
logInterval:
type: string
description: 'TODO'
example: '10s'
format:
TSBSQueryGeneration:
type: object
description: "parameters for the query generation phase"
properties:
usecase:
type: string
enum:
- influx
- timescaledb
- mongodb
description: 'specifies the data format for the selected DBMS'
example: 'influx'
description: 'Query types to be executed, check TSBS docs for more details'
example: 'cpu-only'
queries:
type: number
format: int32
description: 'the number of queries to generate'
example: '20'
queryType:
type: string
description: 'specifies one of the supported query type'
example: 'single-groupby-1-1-1'
TSBSLoadConfig:
TSBSLoadExecution:
type: object
properties:
numberOfWorkers:
workers:
type: number
format: int32
description: 'The number of workers to load the ts data into the DBMS'
......@@ -2189,53 +2207,19 @@ definitions:
format: int32
description: 'The batch size to use for inserting the data'
example: 1000
dbName:
type: string
description: 'The DB to use for the benchmark, will be created automatically'
example: 'benchmark'
reportingPeriod:
type: string
description: 'metric reporting interval'
example: '10s'
dbmsPorperties:
type: array
items:
$ref: '#/definitions/TSDBMSDBMSProperties'
TSBSQueryConfig:
type: object
properties:
usecase:
type: string
description: 'TODO'
example: 'cpu-only'
seed:
type: number
format: int32
description: 'By supplying the same seed to the generation programs, each database is loaded with identical data and queried using identical queries.'
example: 123
scale:
type: number
format: int32
description: 'TODO'
example: 1000
startTime:
type: string
description: 'starting timestamp for generating the data'
example: '2016-01-01T00:00:00Z'
endTime:
type: string
description: 'ending timestamp for generating the data'
example: '2016-01-04T00:00:00Z'
queries:
type: number
format: int32
description: 'TODO'
example: '20'
queryType:
type: string
description: 'specifies one of the supported query type'
example: 'single-groupby-1-1-1'
format:
type: string
enum:
- influx
- timescaledb
- mongodb
description: 'specifies the data format for the selected DBMS'
example: 'influx'
TSBSQueryExecution:
type: object
......@@ -2252,15 +2236,17 @@ definitions:
TSDBMSDBMSProperties:
type: object
properties:
name:
type: string
example: '-urls'
example: 'consistency'
value:
type: string
example: 'http://localhost:8086'
example: 'all'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment