Repository navigation
Implement Phase 6: Prometheus metrics integration for sharding subsystem - #67
Merged
Merged
Conversation
Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
…d TODO for right_rows tracking Co-authored-by: makr-code <[email protected]>
Co-authored-by: makr-code <[email protected]>
Copilot
AI
changed the title
[WIP] Implement Prometheus metrics integration for sharding
Implement Phase 6: Prometheus metrics integration for sharding subsystem
Dec 8, 2025
makr-code
approved these changes
Dec 8, 2025
makr-code
marked this pull request as ready for review
December 8, 2025 09:22
9 tasks
Merged
10 of 25 tasks
11 of 25 tasks
Copilot AI
added a commit
that referenced
this pull request
May 8, 2026
…resolved - SphincsPlus (#14): GenerateKeyPairFn/SignFn/VerifyFn bridges with thread-safe static setters; Ed25519 simulation retained as default; fail-closed on throw for sign/verify; tests in tests/test_sphincsplus_bridge.cpp - Argon2idKeyDerivationService (#31): DeriveKeyFn bridge; setDeriveKeyFn() checks before #if THEMIS_HAS_ARGON2 block; exception falls through to built-in; tests in tests/test_kdf_argon2_bridge.cpp - NCCLVectorBackend (#67): AllReduceFn bridge; setAllReduceFn(); stub allReduce() delegates to fn when set (fail-closed on throw); tests in tests/test_nccl_allreduce_bridge.cpp - OpenCLVectorBackend (#69): ComputeDistancesFn bridge; setComputeDistancesFn(); stub computeDistances() delegates to fn (fail-closed on throw); tests in tests/test_opencl_bridge.cpp - OneAPIVectorBackend (#70): ComputeDistancesFn bridge added to stub class in oneapi_backend.cpp; setComputeDistancesFn(); computeDistances() delegates to fn (fail-closed on throw) - OPA adapter (#16): marked RESOLVED — WasmEvalFn bridge already present - src/STUB_INVENTORY.md: rows #14/#16/#31/#67/#69/#70 marked RESOLVED with strikethrough pattern; footer updated to 177 resolved / 74 active / 🟡 30 Co-authored-by: Copilot <[email protected]> Co-authored-by: makr-code <[email protected]>
Copilot AI
added a commit
that referenced
this pull request
May 8, 2026
… test API correctness Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/e537e2a5-d799-4c9c-acc0-0ae57a3d27b4 Co-authored-by: makr-code <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements comprehensive Prometheus metrics for distributed sharding (Phase 6). Adds 44 production-ready metrics across routing, migration, joins, gossip, and health monitoring without breaking existing APIs.
Implementation
Metrics Integration
Infrastructure
ShardingMetricsRegistry: singleton for global metrics access without modifying HttpServerShardingMetricsHandler: Prometheus text format output with HELP/TYPE annotations/metricsendpoint via comment hooksMonitoring Resources
Usage
Metrics Categories (44 total)
Files Changed
New (10 files):
include/sharding/metrics_registry.h,src/sharding/metrics_registry.cppinclude/server/sharding_metrics_handler.h,src/server/sharding_metrics_handler.cpptests/test_prometheus_metrics_integration.cppconfig/sharding-with-metrics.yamldeploy/kubernetes/monitoring/prometheus/alert-rules-sharding.yamldocs/sharding/PHASE6_IMPLEMENTATION_COMPLETE.mdModified (9 files):
include/sharding/shard_router.h,src/sharding/shard_router.cppinclude/sharding/data_migrator.h,src/sharding/data_migrator.cppREADME.md,docs/features/features_overview.mddeploy/kubernetes/monitoring/README.mdsrc/server/http_server.cpp,CMakeLists.txtAll changes maintain backward compatibility. Metrics parameter is optional and components function identically when metrics are not provided.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.