redis-benchmarks-specification 0.1.286__py3-none-any.whl → 0.1.288__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of redis-benchmarks-specification might be problematic. Click here for more details.

@@ -234,3 +234,19 @@ def exporter_datasink_common(
234
234
  {"metric-type": "commandstats"},
235
235
  expire_redis_metrics_ms,
236
236
  )
237
+
238
+ # Update deployment tracking sets
239
+ deployment_type_and_name = f"{setup_type}_AND_{setup_name}"
240
+ deployment_type_and_name_and_version = f"{setup_type}_AND_{setup_name}_AND_{git_version}"
241
+
242
+ # Add to deployment-specific set
243
+ deployment_set_key = f"ci.benchmarks.redislabs/{tf_triggering_env}/{deployment_type_and_name_and_version}:set"
244
+ datasink_conn.sadd(deployment_set_key, test_name)
245
+
246
+ # Add to testcases set
247
+ testcases_set_key = f"ci.benchmarks.redislabs/{tf_triggering_env}/testcases:set"
248
+ datasink_conn.sadd(testcases_set_key, test_name)
249
+
250
+ # Add metadata fields to timeseries metadata
251
+ metadata["deployment_type_AND_deployment_name"] = deployment_type_and_name
252
+ metadata["deployment_type_AND_deployment_name_AND_version"] = deployment_type_and_name_and_version
@@ -40,6 +40,24 @@ def create_client_runner_args(project_name):
40
40
  )
41
41
  parser.add_argument("--triggering_env", type=str, default="ci")
42
42
  parser.add_argument("--setup_type", type=str, default="oss-standalone")
43
+ parser.add_argument(
44
+ "--deployment_type",
45
+ type=str,
46
+ default="oss-standalone",
47
+ help="Deployment type for the Redis instance (e.g., oss-standalone, oss-cluster, enterprise)"
48
+ )
49
+ parser.add_argument(
50
+ "--deployment_name",
51
+ type=str,
52
+ default="redis",
53
+ help="Deployment name identifier for the Redis instance"
54
+ )
55
+ parser.add_argument(
56
+ "--core_count",
57
+ type=int,
58
+ default=None,
59
+ help="Number of CPU cores available to the Redis instance"
60
+ )
43
61
  parser.add_argument("--github_repo", type=str, default="redis")
44
62
  parser.add_argument("--github_org", type=str, default="redis")
45
63
  parser.add_argument("--github_version", type=str, default="NA")
@@ -1332,6 +1332,14 @@ def process_self_contained_coordinator_stream(
1332
1332
  else:
1333
1333
  metadata["conn_mode"] = "PLAINTEXT"
1334
1334
 
1335
+ # Add deployment metadata
1336
+ metadata["deployment_type"] = args.deployment_type
1337
+ metadata["deployment_name"] = args.deployment_name
1338
+
1339
+ # Add core count if specified
1340
+ if args.core_count is not None:
1341
+ metadata["core_count"] = str(args.core_count)
1342
+
1335
1343
  test_tls_cacert = None
1336
1344
  test_tls_cert = None
1337
1345
  test_tls_key = None
@@ -2031,8 +2039,8 @@ def process_self_contained_coordinator_stream(
2031
2039
  redis_conns,
2032
2040
  results_dict,
2033
2041
  running_platform,
2034
- setup_name,
2035
- setup_type,
2042
+ args.deployment_name,
2043
+ args.deployment_type,
2036
2044
  test_name,
2037
2045
  tf_github_org,
2038
2046
  tf_github_repo,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.286
3
+ Version: 0.1.288
4
4
  Summary: The Redis benchmarks specification describes the cross-language/tools requirements and expectations to foster performance and observability standards around redis related technologies. Members from both industry and academia, including organizations and individuals are encouraged to contribute.
5
5
  Author: filipecosta90
6
6
  Author-email: filipecosta.90@gmail.com
@@ -15,7 +15,7 @@ redis_benchmarks_specification/__common__/builder_schema.py,sha256=kfDpRIk7NkJrb
15
15
  redis_benchmarks_specification/__common__/env.py,sha256=kvJ8Ll-fvI_Tc0vynrzUEr22TqnJizzvJ4Lu9RjNr_M,3119
16
16
  redis_benchmarks_specification/__common__/github.py,sha256=9TZtnISsSgXTSAN_VQejo5YRPDPhlU0gjxgKGPw_sP8,10699
17
17
  redis_benchmarks_specification/__common__/package.py,sha256=4uVt1BAZ999LV2rZkq--Tk6otAVIf9YR3g3KGeUpiW4,834
18
- redis_benchmarks_specification/__common__/runner.py,sha256=2IpMl0IEHi2IZvfLc4_h0e-E3ZfnlB8EkCA_SE8VDCY,7033
18
+ redis_benchmarks_specification/__common__/runner.py,sha256=8pUxEeAvrSQ4GI06tZZu7aPqGImYtBhZRuj4t3wkA-k,7835
19
19
  redis_benchmarks_specification/__common__/spec.py,sha256=D_SN48wg6NMthW_-OS1H5bydSDiuZpfd4WPPj7Vfwmc,5760
20
20
  redis_benchmarks_specification/__common__/timeseries.py,sha256=dae3YF4cX2Css8i5VnOGxAk3DOu8tHfZt-Vy-uiWQDQ,52917
21
21
  redis_benchmarks_specification/__compare__/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
@@ -23,9 +23,9 @@ redis_benchmarks_specification/__compare__/args.py,sha256=shER83ddBRBMAlbgxGXJ5H
23
23
  redis_benchmarks_specification/__compare__/compare.py,sha256=8mtvlwQRYR4c4oOji2qP_fOgtOQCKBL3caHplgTEB2M,62214
24
24
  redis_benchmarks_specification/__init__.py,sha256=YQIEx2sLPPA0JR9OuCuMNMNtm-f_gqDKgzvNJnkGNKY,491
25
25
  redis_benchmarks_specification/__runner__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
26
- redis_benchmarks_specification/__runner__/args.py,sha256=4NaHTfT3FB0wGrYslWb_DKHGf9Za963TjXKk648cjqw,9679
26
+ redis_benchmarks_specification/__runner__/args.py,sha256=c27mVLLKJ6y_BHsPk_zmejAjavCPAGCwP71kX1a5R0w,10223
27
27
  redis_benchmarks_specification/__runner__/remote_profiling.py,sha256=DNl4Wx4wHHcbmKrXFrS51gLVVBY-hftUB8awb_p9kY4,17887
28
- redis_benchmarks_specification/__runner__/runner.py,sha256=C5Fmbf8VWF4LQ9ObIl8_4zwBz9ZiWx1f-SZBW5KGCng,105627
28
+ redis_benchmarks_specification/__runner__/runner.py,sha256=IOtuU0n6dgnFIiqu2Cb7-Hm2U5PDNM-M1cNXxxTcI7o,106009
29
29
  redis_benchmarks_specification/__self_contained_coordinator__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
30
30
  redis_benchmarks_specification/__self_contained_coordinator__/args.py,sha256=uxBjdQ78klvsVi6lOfGYQVaWIxc8OI-DwYKY16SgvCY,5952
31
31
  redis_benchmarks_specification/__self_contained_coordinator__/artifacts.py,sha256=OVHqJzDgeSSRfUSiKp1ZTAVv14PvSbk-5yJsAAoUfpw,936
@@ -273,8 +273,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-pubsub-publi
273
273
  redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-server-time-pipeline-10.yml,sha256=rJuWWXubUeRKQ2GSfHlbPMLeOyM9Eu_MzvN2vgKcAhA,672
274
274
  redis_benchmarks_specification/test-suites/template.txt,sha256=d_edIE7Sxa5X7I2yG-Io0bPdbDIHR0oWFoCA3XUt_EU,435
275
275
  redis_benchmarks_specification/vector-search-test-suites/vector_db_benchmark_test.yml,sha256=uhaSP6YUVmPvZU-qMtPPGdvNEUgUBqOfveUbeJ9WsbI,972
276
- redis_benchmarks_specification-0.1.286.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
277
- redis_benchmarks_specification-0.1.286.dist-info/METADATA,sha256=RN5Q8dsULMNor29T7IBWXWIzAVVhKZykycIwBZlb-w4,22726
278
- redis_benchmarks_specification-0.1.286.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
279
- redis_benchmarks_specification-0.1.286.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
280
- redis_benchmarks_specification-0.1.286.dist-info/RECORD,,
276
+ redis_benchmarks_specification-0.1.288.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
277
+ redis_benchmarks_specification-0.1.288.dist-info/METADATA,sha256=4i_rbvAXV396camS2o_igsmpA48UjpjwzZy7EDdTAto,22726
278
+ redis_benchmarks_specification-0.1.288.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
279
+ redis_benchmarks_specification-0.1.288.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
280
+ redis_benchmarks_specification-0.1.288.dist-info/RECORD,,