-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
area/metricsIssues or PRs related to metrics and monitoringIssues or PRs related to metrics and monitoringkind/enhancementCategory issues or prs related to enhancement.Category issues or prs related to enhancement.
Description
Issue Description
Type: feature request
Describe what happened (or what feature you want)
For the below interface, I used it to export prometheus metrics.
com.alibaba.csp.sentinel.metric.extension.MetricExtension
Take the method[addPass(String resource, int n, Object... args)] for example.
I want to distinguish [in] type from [out] type using it as the prometheus tag. #provider[in]/consumer[out]
So I think I need a feature replacing the input String parameter[resource] with the below class type:
com.alibaba.csp.sentinel.slotchain.ResourceWrapper
Metadata
Metadata
Assignees
Labels
area/metricsIssues or PRs related to metrics and monitoringIssues or PRs related to metrics and monitoringkind/enhancementCategory issues or prs related to enhancement.Category issues or prs related to enhancement.