Skip to content

Add last processed event log tick to status serviceΒ #78

@qubicmio

Description

@qubicmio

What? Why? Who?

To be able to provide the last processed event log tick the status service should check and serve this information.

Acceptance Criteria

  • Add logic to the status service to fetch the last processed event log tick from the intermediary storage (redis).
    • Query tick processing status from redis.
    • Check tick processing status in elasticsearch.
    • If number of logs from redis == number of logs in elastic then proceed to next tick.
  • Metrics
    • For alert if there is a mismatch (error gauge, 100 errors).
    • Current processed log tick.
    • Last known log tick (from redis).
    • Current latest transaction tick (already there).
  • Cache or store the information in the status service.
  • Serve the information (use the current status endpoint).

Scope

Status service

Out of Scope

Publisher, consumer, central intermediary storage

Technical Sketch (How?)

See qubic/go-log-data-publisher#25

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

πŸ— In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions