knative/func

Confirm metrics endpoint coherence

Closed this issue · 1 comments

We have a report that the metrics endpoints for Go are different than the endpoints in other language runtimes:

Hey everyone!
I'm trying to extract metrics from my functions to Splunk using CollectorForOpenshift. I've successfully sent the metrics from the Knative operator (Autoscaler/Controller/etc.) and from the Knative services using the route localhost:9090/metrics, but I saw that when I try to get the metrics from localhost:9091/metrics - it returns different metrics from Go functions and the other one. The Go functions return the memstats metrics just like here.

It is possible that the runtime middleware for Go is different than that of other languages, and we should confirm metrics endpoints are connected consistently

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.