redis-benchmarks-specification 0.1.328__py3-none-any.whl → 0.1.329__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.

@@ -291,13 +291,7 @@ def export_redis_metrics(
291
291
  metric_name,
292
292
  metric_value,
293
293
  ) in overall_end_time_metrics.items():
294
- tsname_metric = "{}/{}/{}/benchmark_end/{}/{}".format(
295
- sprefix,
296
- test_name,
297
- by_variant,
298
- setup_name,
299
- metric_name,
300
- )
294
+ tsname_metric = f"{sprefix}/{test_name}/{by_variant}/benchmark_end/{running_platform}/{setup_name}/{metric_name}"
301
295
 
302
296
  logging.debug(
303
297
  "Adding a redis server side metric collected at the end of benchmark."
@@ -838,34 +838,47 @@ def common_exporter_logic(
838
838
  and artifact_version != ""
839
839
  and artifact_version != "N/A"
840
840
  ):
841
- # extract per-version datapoints
842
- total_hs_ts = len(per_hash_time_series_dict.keys())
843
- logging.info(
844
- f"Extending the by.hash {git_hash} timeseries ({total_hs_ts}) with version info {artifact_version}"
845
- )
846
- for hash_timeserie in per_hash_time_series_dict.values():
847
- hash_timeserie["labels"]["version"] = artifact_version
848
- (
849
- _,
850
- per_version_time_series_dict,
851
- version_target_tables,
852
- ) = extract_perversion_timeseries_from_results(
853
- used_ts,
854
- metrics,
855
- results_dict,
856
- artifact_version,
857
- tf_github_org,
858
- tf_github_repo,
859
- deployment_name,
860
- deployment_type,
861
- test_name,
862
- tf_triggering_env,
863
- metadata_tags,
864
- build_variant_name,
865
- running_platform,
866
- testcase_metric_context_paths,
867
- )
868
- total_break_by_added += 1
841
+ # Check if version 255.255.255 should only be pushed for unstable branch
842
+ should_push_version = True
843
+ if artifact_version == "255.255.255":
844
+ if tf_github_branch != "unstable":
845
+ logging.info(
846
+ f"Skipping version 255.255.255 data push for branch '{tf_github_branch}' "
847
+ f"(only pushing for 'unstable' branch)"
848
+ )
849
+ should_push_version = False
850
+ else:
851
+ logging.info(f"Pushing version 255.255.255 data for unstable branch")
852
+
853
+ if should_push_version:
854
+ # extract per-version datapoints
855
+ total_hs_ts = len(per_hash_time_series_dict.keys())
856
+ logging.info(
857
+ f"Extending the by.hash {git_hash} timeseries ({total_hs_ts}) with version info {artifact_version}"
858
+ )
859
+ for hash_timeserie in per_hash_time_series_dict.values():
860
+ hash_timeserie["labels"]["version"] = artifact_version
861
+ (
862
+ _,
863
+ per_version_time_series_dict,
864
+ version_target_tables,
865
+ ) = extract_perversion_timeseries_from_results(
866
+ used_ts,
867
+ metrics,
868
+ results_dict,
869
+ artifact_version,
870
+ tf_github_org,
871
+ tf_github_repo,
872
+ deployment_name,
873
+ deployment_type,
874
+ test_name,
875
+ tf_triggering_env,
876
+ metadata_tags,
877
+ build_variant_name,
878
+ running_platform,
879
+ testcase_metric_context_paths,
880
+ )
881
+ total_break_by_added += 1
869
882
  else:
870
883
  logging.warning(
871
884
  "there was no git VERSION information to push data brokedown by VERSION"
@@ -1118,6 +1131,7 @@ def add_standardized_metric_byversion(
1118
1131
  tf_triggering_env,
1119
1132
  metadata_tags,
1120
1133
  build_variant_name,
1134
+ running_platform,
1121
1135
  )
1122
1136
  labels["version"] = artifact_version
1123
1137
  labels["deployment_name+version"] = "{} {}".format(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.328
3
+ Version: 0.1.329
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,9 +15,9 @@ 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=qX2LOjlM84CEwPnSHFSCQXFFHYQNbQHelNQVZlNjlmQ,16789
18
+ redis_benchmarks_specification/__common__/runner.py,sha256=3NhaIsuQfeOQq4nnKGG3-GVh0Y9005AtoDkZWICrbDY,16697
19
19
  redis_benchmarks_specification/__common__/spec.py,sha256=D_SN48wg6NMthW_-OS1H5bydSDiuZpfd4WPPj7Vfwmc,5760
20
- redis_benchmarks_specification/__common__/timeseries.py,sha256=uvS3T2zdrSmW_B2S0MYTekJfHUllqU3RlD0LrF957RQ,52904
20
+ redis_benchmarks_specification/__common__/timeseries.py,sha256=vgNWtmtfUgHk0yHv1kU5obmZsxLDqXVidggtkGpukpk,53639
21
21
  redis_benchmarks_specification/__compare__/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
22
22
  redis_benchmarks_specification/__compare__/args.py,sha256=CNtA7pI9CJDTBJPGL2pNVfis7VDdxLautwRyka7oUCI,8911
23
23
  redis_benchmarks_specification/__compare__/compare.py,sha256=_AbuV3FZxtUZIdq4qq24LNzPNIdtQQaqrk8bUjn9blk,84327
@@ -281,8 +281,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-st
281
281
  redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-storage-1k-sessions.yml,sha256=2egtIxPxCze2jlbAfgsk4v9JSQHNMoPLbDWFEW8olDg,7006
282
282
  redis_benchmarks_specification/test-suites/template.txt,sha256=ezqGiRPOvuSDO0iG7GEf-AGXNfHbgXI89_G0RUEzL88,481
283
283
  redis_benchmarks_specification/vector-search-test-suites/vector_db_benchmark_test.yml,sha256=PD7ow-k4Ll2BkhEC3aIqiaCZt8Hc4aJIp96Lw3J3mcI,791
284
- redis_benchmarks_specification-0.1.328.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
285
- redis_benchmarks_specification-0.1.328.dist-info/METADATA,sha256=ZczeKlE4rBkHFUAUCWSvmBzXLtYaA5s74c3rW-VnXZ8,22768
286
- redis_benchmarks_specification-0.1.328.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
287
- redis_benchmarks_specification-0.1.328.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
288
- redis_benchmarks_specification-0.1.328.dist-info/RECORD,,
284
+ redis_benchmarks_specification-0.1.329.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
285
+ redis_benchmarks_specification-0.1.329.dist-info/METADATA,sha256=8vfnq4jXNBHelWeZoqjRt83P8GI2IzuGFipdJUJbEhQ,22768
286
+ redis_benchmarks_specification-0.1.329.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
287
+ redis_benchmarks_specification-0.1.329.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
288
+ redis_benchmarks_specification-0.1.329.dist-info/RECORD,,