Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

[Fideslog] Send an analytics event for each endpoint #559

Closed
eastandwestwind opened this issue May 25, 2022 · 1 comment · Fixed by #622
Closed

[Fideslog] Send an analytics event for each endpoint #559

eastandwestwind opened this issue May 25, 2022 · 1 comment · Fixed by #622
Assignees
Labels
enhancement New feature or request

Comments

@eastandwestwind
Copy link
Contributor

eastandwestwind commented May 25, 2022

For each deployment, we need to log:

  • which API was accessed (and how - via the front end or directly via the API)
  • if the call was successful or not
  • if the call was not successful, we need to capture the error (the response code + error type)

Make sure we're not sending events in CI or local testing

@eastandwestwind eastandwestwind added the enhancement New feature or request label May 25, 2022
@seanpreston
Copy link
Contributor

seanpreston commented Jun 1, 2022

The outstanding decisions to make here are:

  • Where to store the API endpoint metadata — ie. which endpoint was accessed and from which source
  • Where to build this into Fidesops — can this be a Router extension? We can use dependency injection at in FastAPI's APIRouter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
2 participants