runtimes/core: Add metrics support
Adds the ground work for adding metrics to encore.ts, adds the e_requests_total counter for apps running in gcp/encore cloud that export metrics to gcp cloud monitoring.
~Will add support for aws, datadog and prometheus in a follow up.~ ~This also doesnt expose any sys metrics, will add that in a follow up pr as well.~
All committers have signed the CLA.
actually, I will refactor this a bit since metrics-rs isn't flexible enough with the different types that we support. Drafting this for now
refactored and added system metrics to this ps
updated the pr with the other exporters as well