-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: add lago plugin #12196
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
base: master
Are you sure you want to change the base?
feat: add lago plugin #12196
Conversation
e17692e
to
636eaf3
Compare
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.
I have reviewed the testcases
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.
LGTM, only one minor issue
Could @kayx23 please help check the docs, after that we can merge. |
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.
I have reviewed the docs, it's great to add a diagram to explain the logics for both developers/users and Lago developers, but we can merge first.
Description
Add plugin for integration with Lago, this allows users to use APISIX as a monetization gateway to charge subscribers via API consumption. Empower your business.
The plugin sends API call logs to a Lago self-hosted or Lago cloud instance to charge a specified consumer via a specific billing metric and subscription.
Some typical use cases:
The plugin is flexible, you can configure multiple routes with different billing metric codes or properties to enhance pay-as-you-go scenarios, for example, setting different prices for different APIs. Check out the video here to understand it https://www.youtube.com/watch?v=ulLpAn8_P9o
Checklist