Metrics for API component
Define and export metrics on the Golang API component. Split from #41 (closed), where tracing, structured logging and a single metric was applied.
- In #41 (closed) I used opentelemetry-go packages for creating metrics, received by OpenTelemetry Collector, exported to Prometheus.
- Plan to replace with prometheus/client_golang, mainly because opentelemetry-go is under development, with the Metrics component at Alpha stage.
Optionally use Prometheus with:
Edited by Alex Chadwick