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

Data/event generator #8

Open
pmohankumar opened this issue Jul 24, 2018 · 1 comment
Open

Data/event generator #8

pmohankumar opened this issue Jul 24, 2018 · 1 comment
Assignees

Comments

@pmohankumar
Copy link

pmohankumar commented Jul 24, 2018

Micro services generate auxiliary events (or audits) and data/insights as part of request-response. We could have a framework which enables developers to easily tag what data to generate, aggregate (multiple events for one request to server) and ingest into sinks for further processing/analytics/auditing etc in a sync or async fashion.

Though this will be always-on (as against on-demand tracing) and fully ingested into sinks (as against sampling in tracing), this won't cover "transactional audit" use cases.

@pmohankumar pmohankumar self-assigned this Jul 24, 2018
@rohitkochar
Copy link

@pmohankumar We have implemented something similar for one of our projects.
The basic idea was to add Annotation based audit to any api ,where few data points like request params are audited by default and developers can add more context to be audited from within the API implementation.

You can see the example for the same here
Posting a link to internal github
https://github.fkinternal.com/Flipkart/cbt-import/blob/c8b70904927d8d4f29b48776a334d5b1baffd69a/audit/src/test/java/fk/sp/cbt/CarRental.java

And the source code is here
https://github.fkinternal.com/Flipkart/cbt-import/tree/master/audit

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

No branches or pull requests

2 participants