openfaas / openfaas-cloud

The Multi-user OpenFaaS Platform
https://docs.openfaas.com/openfaas-cloud/intro/
MIT License
770 stars 227 forks source link

Fix namespace for metrics invocations (#700) #702

Closed alexellis closed 3 years ago

alexellis commented 3 years ago

Description

Fix namespace for metrics invocations (#700)

How Has This Been Tested?

Fix namespace for metrics invocations

The metrics for OpenFaaS now have a namespace suffix so
that it is needed when looking up Prometheus metrics.

This change also fixes the proxy issue with create-react-app
now deprecating proxy settings in the package.json

Fixes: #700

Tested before/after with OFC on my RPi - as set up by @Waterdrips. I swapped the image and tested the dashboard locally via yarn start - this gave the expected metrics.

How are existing users impacted? What migration steps/scripts do we need?

Updating the image should be enough.