Discussion about this post

User's avatar
Danny Lieberman's avatar

just read your other post on Minerva. I agree with your preference for SQL over API.

Regarding YAML - I am not sure that YAML is expressive enough to compute metrics. What we did on the flaskdata.io metrics layer was to wrap SQL inside functions with a standard calling convention in order to compute the metrics from the time series data. I won't pretend that its ideal - the debug process is not pleasant but once it works, the job is done.

To get some more flexibility we use YAML to define how to extract the actual metrics into the BI

borrowing a page out of transform's play book.

For our next product, I'm serious considering OpenTelemetry

Expand full comment
Danny Lieberman's avatar

Given that computation of metrics is usually not part of the data access layer; it seems to me that metrics is a layer unto itself. This enables us to hide the computational complexity of deriving metrics from time-series data from the BI. It also enables a design where we can compute and expose live metrics from inside the operational process (as is commonly done with operating systems). I believe that this makes sense in particular when you have a slow moving process (like clinical trial data).

Expand full comment
11 more comments...

No posts