application-research / outercore-eng-kb

Official Knowledge base repo of Estuary
https://estuary.tech
5 stars 0 forks source link

Estuary Metrics #3

Open alvin-reyes opened 1 year ago

alvin-reyes commented 1 year ago

Metrics Tracking and Metrics API

Author Alvin Reyes
Status Completed
Revision
Github Repo https://github.com/application-research/estuary-metrics
Grafana https://protocollabs.grafana.net/d/0-0ztE97z/estuary-team-metrics-dashboard?orgId=1&from=now%2Ffy&to=now%2Ffy
Github Issue: https://github.com/application-research/estuary/issues/283

Overview

The purpose of this document is to create a specification of the Estuary Metrics API.

Purpose

In order for any consumers to monitor estuary, be it their own node or the Outercore hosted estuary, there needs to be a way to monitor and consume different functional metrics that estuary provides.

As of today, there’s only one way to monitor metrics for estuary

1 - thru Grafana

2 - thru public/stats endpoint

Solution: Grafana

Started working on this: https://protocollabs.grafana.net/d/0-0ztE97z/estuary-team-metrics-dashboard?orgId=1&from=now%2Ffy&to=now%2Ffy

Solution: Estuary Metrics API

Untitled

Tech Components

Use cases

For System metrics, in addition to aggregate, we also want breakdown by shuttle / primary node.

System

Users

For Storage/Retrieval deal metrics, in addition to aggregate, we also want the following breakdowns

Storage

Retrieval

Implementation

https://github.com/application-research/estuary-metrics