Skip to content

Guardrail : Log every requestΒ #10

@dennyabrain

Description

@dennyabrain

Is your feature request related to a problem? Please describe.
Every API request that is made against kaapi-guardrails needs to be logged in the database. This is to allow post-facto investigations of any API calls. Since a guardrail consists of multiple validators that could throw exception unexpectedly, we would need to know which validator failed and why.

Describe the solution you'd like
For every request we store in the database details of that request - input, output, configuration. For each validator, we store the same details.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions