Skip to content

Security/centralize metric registry#2161

Merged
zhoujh01 merged 3 commits into
volcengine:mainfrom
MDNDDD:security/centralize-metric-registry
May 21, 2026
Merged

Security/centralize metric registry#2161
zhoujh01 merged 3 commits into
volcengine:mainfrom
MDNDDD:security/centralize-metric-registry

Conversation

@MDNDDD
Copy link
Copy Markdown
Contributor

@MDNDDD MDNDDD commented May 21, 2026

Description

Related Issue

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Changes Made

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • Linux
    • macOS
    • Windows

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

MDNDDD added 2 commits May 21, 2026 14:46
…nction

Introduce _create_metric_registry() to centralize MetricRegistry
instantiation, preventing external registry implementations from
bypassing internal safety checks.
Sync with upstream change that added config parameter to
create_default_collector_manager call.
@github-actions
Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🏅 Score: 92
🧪 No relevant tests
🔒 No security concerns identified
✅ No TODO sections
🔀 No multiple PR themes
⚡ No major issues detected

@github-actions
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@zhoujh01 zhoujh01 merged commit 18b812a into volcengine:main May 21, 2026
4 of 5 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in OpenViking project May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants