serhiy-bzhezytskyy opened a new pull request, #204: URL: https://github.com/apache/solr-orbit/pull/204
On Solr 10.1.0, 0 of the 21 Prometheus names that the Solr telemetry devices read exist, and `/solr/admin/metrics?wt=json` answers 400, so a run stored 6 values of its own (CPU, free memory, file descriptors, `num_docs`, `segment_count`) and no JVM, indexing, query or cache value. The summary read other names still, those of OpenSearch's statistics (`store_size_in_bytes`, `node_total_young_gen_gc_time`), which nothing writes, so its heap, garbage collection and index rows were always empty. The devices now read the series that Solr 10.1 serves and keep their labels, so a value is stored per collection, cache or garbage collector. Each device takes one last sample when the benchmark stops, and an index with no deleted documents is reported as 0 (`deletedDocs: 0` was dropped as false). The summary and `compare` show heap used, garbage collection, documents, deleted documents, store size, transaction log size and segment count, for the collections of the workload only, and no longer list the rows of OpenSearch's primary shards, ML jobs, transforms and segment memory. Garbage collection is the growth of the JVM's counters between the first and the last sample. Indexed documents and flushes are left out of the report on purpose: Solr's counters start again when a workload deletes and creates its collection, which cannot be told from no activity. Solr 10.1 reports no merge counters, so there is no merge row. | nyc_taxis, `append-no-conflicts-index-only`, Solr 10.1.0 | metrics the devices stored | summary rows with a value | |---|---|---| | `main` | 6 | 0 | | this change | 47 in one pass of the six devices | 11 | Test with: ``` pytest tests/unit/solr/test_telemetry.py tests/metrics_test.py tests/publisher_test.py -q solr-orbit run --pipeline=benchmark-only --target-hosts=localhost:8983 --workload-path=<solr-orbit-workloads>/nyc_taxis --test-procedure=append-no-conflicts-index-only --test-mode --show-in-results=all solr-orbit compare --baseline=<test-run-id> --contender=<test-run-id> ``` `tests/unit/solr/data/solr-10.1-metrics.prom` is an answer of a 10.1.0 node, reduced to the series that the devices read. The Solr 9 JSON branches are unchanged and were not run against a 9.x node. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
