Skip to content

master<-dev#1445

Merged
TinyKitten merged 1 commit into
masterfrom
dev
Mar 22, 2026
Merged

master<-dev#1445
TinyKitten merged 1 commit into
masterfrom
dev

Conversation

@TinyKitten

Copy link
Copy Markdown
Member

No description provided.

* Filter non-gRPC paths from metrics labels to prevent cardinality explosion

Bot/scanner requests with arbitrary paths (e.g. /$(pwd)/netlify.toml) were
being recorded as-is in the method label, polluting Grafana dashboards and
risking unbounded label cardinality in Prometheus. Only valid gRPC prefixes
are now recorded; all other paths are bucketed under "unknown".

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Normalize gRPC method labels into fixed buckets to prevent cardinality explosion

Instead of storing raw request paths as metric labels, map each known
gRPC prefix to a constant bucket name (trainlcd, grpc_health,
grpc_reflection) and validate the method token contains only safe
characters before appending it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@TinyKitten TinyKitten self-assigned this Mar 22, 2026
@coderabbitai

coderabbitai Bot commented Mar 22, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2ced5265-9ea6-493b-86bb-65b7729a1f55

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Comment @coderabbitai help to get the list of available commands and usage tips.

@TinyKitten TinyKitten merged commit f71b298 into master Mar 22, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant