indexer
indexer copied to clipboard
Conduit: Prometheus metrics endpoint
- Metrics:
- There is no metrics endpoint.
- Missing metrics: durations for each plugin, duration for processing, total round processing time, ...
We should avoid using echo for this. Since there is a single endpoint something simpler should be sufficient.
Acceptance Criteria
- Create an HTTP server that hosts Prometheus metrics.
- Add new pipeline configuration to enable metrics (yaml file, not CLI flag).
- Hook it up to the current metrics that Indexer uses.
- Add new metrics that are Conduit pipeline specific (i.e. duration each plugin runs for)
- Provide an interfaces to plugins, so that they can store their own metrics.