alibaba / alibaba/Sentinel

Provide access to origin in MetricExtension

Open
#2,137 1 comment 0 reactions 0 assignees View on GitHub
area/metrics kind/enhancement
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

## Issue Description

Type: *feature request*

### Describe what happened (or what feature you want)

Currently only addBlock/onBlocked callback has access to 'origin'

### Describe what you expected to happen

It's useful to provide 'origin' as a metric dimension for all the other callbacks

Contributor guide

Open the contributing guide

Research direction

Start by tracing MetricExtension callbacks and the existing addBlock/onBlocked handling where origin is available. Done means the other callbacks can also expose origin as a metric dimension, with coverage for the affected callback behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.