Commit Graph

104 Commits

Author SHA1 Message Date
Jonathan Shook
a8801488ac direct test for command error handling in session 2024-01-31 09:05:56 -06:00
Jonathan Shook
033e5d2284 Single entry point for NBCLI parser 2024-01-10 14:41:15 -06:00
Jonathan Shook
e97df4b663 add support for component status WRT execution state
add support for heartbeat status
move NBSession to a live component which heartbeats to a file
refactor periodic task to support started and unstarted after ctor
add --heartbeat-millis option
allow periodic tasks to activate on start, and on shutdown
add missing session close
2024-01-09 15:06:25 -06:00
Jonathan Shook
01bd518612 move simrate to its own package 2024-01-02 11:34:05 -06:00
Jonathan Shook
5ae22195ba package factoring 2023-12-09 17:16:44 -06:00
Jonathan Shook
e1f9545abd change all references of context to container 2023-12-07 09:40:40 -06:00
Jonathan Shook
ae19037bce remainder of changes for scenario rework that need to be itemized 2023-12-06 14:26:53 -06:00
Jonathan Shook
a2ac3e3f75 structuring and naming changes 2023-12-06 14:26:29 -06:00
Jonathan Shook
921c6e17e3 cleanups and minor docs 2023-10-23 08:42:19 -05:00
Jonathan Shook
137ce31136 findmax 80% ready 2023-10-23 08:42:19 -05:00
Jonathan Shook
bff86b5525 bursty cycle rate test online 2023-10-23 08:42:19 -05:00
Jonathan Shook
9fa711b7ab checkpoint 2023-10-23 08:42:19 -05:00
Jonathan Shook
0699b446a6 remove duplicitous call path 2023-10-23 08:42:19 -05:00
Jonathan Shook
945f48983c scenario tests stubbed, error handling in session fixed, mvn verify works now 2023-10-23 08:42:19 -05:00
Jonathan Shook
bed3070495 fixed empty runScenario method and made it final 2023-10-23 08:42:19 -05:00
Jonathan Shook
7be8fd0708 minor updates, notes collected into gh issues 2023-10-23 08:42:19 -05:00
Mark Wolters
3bc5115b17 1st cut plugin adapters 2023-10-23 08:42:19 -05:00
Jonathan Shook
3ec511f61f partial progress to moving instrumentation 2023-10-23 08:41:17 -05:00
Jonathan Shook
835c74597a SCDryRunScenarioTest running like js analog now 2023-10-23 08:41:17 -05:00
Jonathan Shook
17052eaadf rework scenario invocation for better tests, unit test running only 2023-10-23 08:41:17 -05:00
Jonathan Shook
b0e984c55f basic component lifetimes working 2023-10-23 08:41:17 -05:00
Jonathan Shook
90519b9337 more fixes 2023-10-23 08:41:17 -05:00
Jonathan Shook
5cc0a51fc8 update integrated tests to use new metrics names 2023-08-28 16:14:22 -05:00
Jonathan Shook
745d203766 align test name to file 2023-08-16 15:44:29 -05:00
Jonathan Shook
99b84d5e35 align test name to file 2023-07-27 12:39:30 -05:00
Jonathan Shook
b324c59c11 remove package element from log4j2 configs 2023-06-06 09:03:13 -05:00
Jonathan Shook
963c481b26 update tests for stmt form 2023-05-18 14:58:23 -05:00
Jonathan Shook
30992793ed clarify multiple scenario entry points 2023-05-18 14:58:08 -05:00
Jeff Banks
02ff160b3c
Metrics Publishing (#1234)
Included the following with core changes to allow labeled metrics for Prometheus exposition format publishing.
* javadoc updates
* remove extra types
* use NBLabeledElement instead of NBNamedElement
* contextualize NBLabeledElement for graphite/metrics
* externalize labeled ScriptContext to API
* add labels to NicerTimer
* remove partial packaging
* more progress on formatting for prom exposition format
* added metrics diagram
* resolve build issues with label params
* resolve build issues with label params
* prometheus export services
* added PromExpoFormat Tests for NBMetricMeter(Counting+Sampling) and NBMetricTimer(Counting)
* added test for Gauge Formatting
* added Gauge Formatting as well as Sampling values (count, stdev ...)
* added sketch for metrics labeling contexts
* add NBLabeledElement in all the places, retool calling paths to use it
* synchronize antlr versions after partial snyk change
* unbreak static initializer block after IntelliJ "fixed" it.
* engine-api - adapt to NBLabeledElement
* adapters-api - adapt to NBLabeledElement
* nb-api - adapt to NBLabeledElement
* engine-core - adapt to NBLabeledElement
* misc-adapters - adapt to NBLabeledElement
* streaming-adapters - adapt to NBLabeledElement
* add missing test
* initial implementation of a prom push reporter
* Resolve build issue with parseGlobalOptions
* replaced with PromPushReporter
* cleanup unused deps
* dependency removal for micrometer
* allow empty labels for tests
* change space.getName to space.getSpaceName
* cleanup poms
* graphite linearization now includes space element
* http adapter should only depend on adapters API
* http space does not create its own metric names
* import cleanups
* improved javadocs
* introduce component concepts

---------

Co-authored-by: Jonathan Shook <jshook@gmail.com>
Co-authored-by: Mike Yaacoub <mike.yaacoub@datastax.com>
2023-05-09 09:52:42 -05:00
Jonathan Shook
ec60692375 Merge branch 'nosqlbench-955-jacoco2' into nosqlbench-944-jsonnet 2023-01-27 16:37:28 -06:00
Jonathan Shook
1eead1add8 centralize jacoco template for reconfiguration 2023-01-26 23:32:15 -06:00
Jonathan Shook
ef4c84ddaa jsonnet diagnostic improvements 2023-01-26 18:20:19 -06:00
Jonathan Shook
69be6a1062 make tests use workload instead of yaml 2023-01-23 12:17:13 -06:00
Jonathan Shook
f63c7aeadb replace CI+CD friendly revision 2023-01-19 16:54:06 -06:00
nb-droid
a49a9e9380 [maven-release-plugin] prepare for next development iteration 2023-01-13 19:51:57 +00:00
nb-droid
67aeba7a34 [maven-release-plugin] prepare release nosqlbench-5.17.0 2023-01-13 19:51:55 +00:00
Jonathan Shook
e04eef814c temporary work-around for release plugin incompatibility 2023-01-13 13:19:35 -06:00
Jonathan Shook
31478ae591
Nosqlbench 904 version5 (#908)
* Ignore .flattened-pom.xml files from the CI-friendly flattening

* Allow newer versions to squelch version warning

* * switch to CI-friendly revisions in Maven
* add flattener
* refactor version tags
* remove unecesary indirection in poms which break version intellisense

* * switch to CI-friendly revisions in Maven
* add flattener
* refactor version tags
* remove unnecessary indirection in poms which break version intellisense

* deleting commented code
* version dep updates
* streamline LUT trimming options
* use a more explicit regex substituion technique
* specify updated okhttp version
* update resources plugin to bugfixed version
* exclude filtering for problematic files
2023-01-12 12:48:50 -06:00
Jeff Banks
9c25ad9336
Code coverage integration (#897)
* Jacoco introduced for full reporting of test coverage.
* All modules included in scope.
* Ability to scope to module OR overall reporting.
* Ability to run in dev environment and bypass as needed w/out GHA.
2023-01-12 11:25:40 -06:00
nb-droid
6e93468632 [maven-release-plugin] prepare for next development iteration 2023-01-09 19:36:28 +00:00
nb-droid
d1b9c91e44 [maven-release-plugin] prepare release nosqlbench-4.17.32 2023-01-09 19:36:26 +00:00
Jonathan Shook
688a6f728f run example tests serially for now 2023-01-05 15:31:20 -06:00
Jonathan Shook
865c0ac387 remove previous "nb" module, which will be replaced by the nb5 module soon 2023-01-05 14:38:06 -06:00
Jonathan Shook
f379ad2927 deactivate rest module with old dependencies 2023-01-05 14:37:10 -06:00
Jonathan Shook
f412505690 consolidate error tests 2023-01-05 14:36:58 -06:00
Jonathan Shook
48055fe95f reduce logging output for integrated tests 2022-12-21 18:02:23 -06:00
Jonathan Shook
fd8e871da5 use local logger at debug level for any test output 2022-12-21 17:52:09 -06:00
Jonathan Shook
4f4b4982c8 templatize test logging level for logger setup and root logger 2022-12-20 23:11:55 -06:00
Jonathan Shook
077b41a3c6 misc naming, typo and formatting improvements 2022-12-20 20:03:22 -06:00
Jonathan Shook
1816381f97 make integrated tests more robust 2022-12-20 20:03:12 -06:00