Skip to content

Implement monitoring for Incremental Cardano DB #2249

Closed
@jpraynaud

Description

@jpraynaud

Why

We need to evolve the dashboards (Grafana and Protocol Insights) to display metrics about the Incremental Cardano DB.

What

Adapt the dashboards (Grafana and Protocol Insights) with new metrics of the Incremental Cardano DB.

How

  • Add a new metric to record the number of immutable files restored
    • Add a metric in the aggregator
    • Add a tracking route on the aggregator on /statistics/cardano-database/immutable-files-restored
    • Add a call to the aggregator route in the client CLI
  • Add a new metric to record the number of ancillary files restored
    • Add a metric in the aggregator
    • Add a tracking route on the aggregator on /statistics/cardano-database/ancillary-files-restored
    • Add a call to the aggregator route in the client CLI
  • Add a new metric to record the number of complete restorations
    • Add a metric in the aggregator
    • Add a tracking route on the aggregator on /statistics/cardano-database/complete-restoration
    • Add a call to the aggregator route in the client CLI
  • Add a new metric to record the number of partial restorations
    • Add a metric in the aggregator
    • Add a tracking route on the aggregator on /statistics/cardano-database/partial-restoration
    • Add a call to the aggregator route in the client CLI
  • Send an EventMessage on complete restoration
  • Send an EventMessage on partial restoration

Later

  • Update the Mithril aggregator Grafana dashboard to display new metrics for the Incremental Cardano DB (production, serving of artifacts and aforementioned metrics)
  • Update the Protocol Insights Dashboard to display new metrics for the Incremental Cardano DB (production, serving of artifacts and aforementioned metrics)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions