Expose Astarte services' metrics via a dedicated metrics ingress. The ingress is available only when serveMetrics is set to true, and metrics can be retrieverd by querying the <astarte-base-URL>/metrics/<servicename> endpoint.
Contextually factor out the logic which is shared by the API and metrics ingress.
Expose Astarte services' metrics via a dedicated metrics ingress. The ingress is available only when
serveMetrics
is set to true, and metrics can be retrieverd by querying the<astarte-base-URL>/metrics/<servicename>
endpoint. Contextually factor out the logic which is shared by the API and metrics ingress.