developmentseed / developmentseed/eoAPI

Add observability to STAC, Raster APIs

Aperta
#193 5 commenti 0 reazioni 1 assegnatario Assegnata a @pantierra Vedi su GitHub
Feature Request
Lingua principale
Shell
Stelle
326
Fork
33
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

#### Problem description

Some partners may need usage metrics from the STAC or Raster API to assess most access collections, items etc. This could be be achieved by instrumenting the APIs to emit metrics, traces and logs. Observability data can then be visualized or analyzed in Cloudwatch or Grafana.

The VEDA Data Services team has implemented STAC and Raster Observability to get [fine grained analytics](https://github.com/NASA-IMPACT/veda-backend/issues/350) in Grafana that can tell us the most accessed collections using the `/collections/{collection_id}` endpoint for example. Metrics could also be obtained for Raster endpoints.

See the VEDA implementation in the STAC API for more details: https://github.com/NASA-IMPACT/veda-backend/blob/develop/stac_api/runtime/src/monitoring.py

A potential feature implementation would instrument the APIs using OpenTelemetry or AWS Lambda Powertools. Grafana could also be be deployed as part of the infrastructure however this could be left to individual implementors as well.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.