-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Add metrics for OIDC #8015
Changes from all commits
df83a87
0f31830
bb39854
2878e92
b44273f
6fe5a92
3974884
82f8327
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As this is not only relevant to broker-filters anymore, should we move this StatsReporter to a dedicated package and make it more generic? E.g. Then you could also change the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So for example:
and then for example for the broker/trigger:
And then we call this e.g. in
and use it
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Creating an interface to avoid import cycle.
Before this, it is stuck with a import cycle between
auth
andfilter
packages. Theauth
code needsfilter
's stats reporting, butfilter
is already usingauth
stuff. To fix this I created a simple interface inauth
that just covers the stats we need. Then making an adapter infilter
to bridge the gap. Is this a good approach to solve this problem?