Skip to content

dependencies api: Add observability

Warren Gifford requested to merge ef/single-dep-api into main

Created by: efritz

This adds tracing, metrics, and hooks for sentry (If we configure it later) by wrapping the dependencies API with observability package goodies.

Screen Shot 2022-02-24 at 4 00 46 PM

This updates the search client to construct a global singleton on first access with a single instance of metrics. In the future we'll need to ensure that we create as few distinct APIs as possible to maximize bulk operations and caching benefits.

Test plan

Tested by hand and gotted u a pretty picture (see PR description)!

Merge request reports

Loading