elastic-ipfs / metrics-collector

collect elastic-ipfs events into metrics
Other
2 stars 0 forks source link

define IndexerCompleted event #9

Closed gobengo closed 2 years ago

gobengo commented 2 years ago

Context

"Elastic Provider Events" MVP wants an event CAR file fully indexed into EP: S3 URL, timestamp emitted here.

Semantically, this event can be thought of as "Indexer Complete". This event indicates completion of an indexing process.

Decision

We will define an event type named "IndexerComplete" with the following fields:

Consequences

We can parse incoming IndexerComplete events.

We can keep track of metrics about how long the indexing process took.