Skip to content

@SentinelResource annotation not working in inner calls #1371

@zephyrli

Description

@zephyrli

Issue Description

I've met a problem. This is the situation: I've set up a flow rule with sentinel-dashboard, and from the sentinel-record.log, it is sure that the application have loaded the rules. Here is the log:

image

What happened

And the resource with annotation can be found in page "簇点链路"
image
but the QPS in this page is always 0, which is not correct, and there is nothing in realtime monitoring page. The rules are not working though they're loaded, requests are not blocked at all. There are metric logs in metrics.log.

My application is a Spring Boot one. And I've tried to reproduce the problem based on the demo project sentinel-demo-annotation-spring-aop but failed.

Environment

It's a local test in Mac OS X.

Could I get some help here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/annotationIssues or PRs related to annotation supportkind/questionCategory issues related to questions or problems

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions