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

Add OpenTelemetry Instrumentation #4627

Open
tariqajyusuf opened this issue Feb 21, 2024 · 0 comments
Open

Add OpenTelemetry Instrumentation #4627

tariqajyusuf opened this issue Feb 21, 2024 · 0 comments

Comments

@tariqajyusuf
Copy link
Contributor

Is your feature request related to a specific problem?

Since Fides in most cases will be run as an on-prem service, we would like to be able to monitor service health, performance, and other metrics that could be easily exported into a dashboard. OpenTelemetry has a Python integration that we could leverage here (and specifically supports FastAPI). Many monitoring services provide support for OpenTelemetry and this would make it easier to run DevOps.

Describe the solution you'd like

Optimally, adding the OpenTelemetry package and exporting basic web metrics. A stretch goal would be including basic metrics for data coverage that could be easily read without requiring additional API integration calls.

Describe alternatives you've considered, if any

Alternatives would likely involve manually instrumenting an endpoint for monitoring. It would likely be more brittle in integration and OpenTelemetry is already widely supported.

Additional context

Some other metrics that could be exported beyond OpenTelemetry:

  • Number of registered systems, datasets, policies.
  • Time of last scan.
  • Number of privacy requests.
  • Average time to close privacy requests.
  • Longest open privacy request (for monitoring response SLAs)
  • Error rates and call rates for third-party connectors.
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

1 participant