Error displaying serverless invocation metrics when using Knative 0.5
Summary
When attempting to view invocation metrics for a serverless function deployed to a Knative 0.5 cluster, invocation metrics do not show up. An error (pictured below) displays at the top of the page.
Steps to reproduce
Deploy a function to a Knative 0.5 cluster. Go to the function page which will attempt to load invocation metrics.
Example Project
https://gitlab.com/gitlab-org/gitlabktl/serverless/functions/testing/gitlabktl-tests-func-echo
Relevant logs and/or screenshots
Possible fixes
The prometheus query, which was changed in !17367 (merged), may not be compatible with Knative 0.5.