Skip to content
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

[Feature] Transactions Counter for Gateway #3131

Closed
dulanjalidilmi opened this issue Feb 20, 2024 · 0 comments
Closed

[Feature] Transactions Counter for Gateway #3131

dulanjalidilmi opened this issue Feb 20, 2024 · 0 comments
Assignees
Milestone

Comments

@dulanjalidilmi
Copy link
Contributor

Related Issue: wso2/api-manager#2007

Problem

It is required to count the number of transactions processed through the Gateway to develop a transaction-based pricing model. Currently there is no transaction counting mechanism is implemented.

Solution

Developing a synapse handler based transaction counting mechanism.

Implementation

A synapse handler-based methodology needs to be developed to count the following transactions.

Transaction Type Counting mechanism
Request Response Pairs Needs to be counted at request outflow
Incoming messages via WebSockets Can be counted at request inflow by checking the transport name.

Distributed architecture

Transaction (2)

Component architecture

MsgFlow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants