Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

system-metrics on the dashboard is showing 0 #700

Closed
alexellis opened this issue Nov 30, 2020 · 3 comments
Closed

system-metrics on the dashboard is showing 0 #700

alexellis opened this issue Nov 30, 2020 · 3 comments
Assignees

Comments

@alexellis
Copy link
Member

system-metrics on the dashboard is showing 0

Expected Behaviour

It should show the invocations for the function in question.

Current Behaviour

It shows 0

Possible Solution

Pass the namespace - as the gateway now records function metrics with a namespace, even if it's the default one.

fws

Steps to Reproduce (for bugs)

  1. Deploy with the latest gateway
  2. Check your dashboard after invoking a function. The overview page will show correctly.

overview

missing

@alexellis
Copy link
Member Author

@brandonkal or @Waterdrips would you to take a look please?

@brandonkal
Copy link
Contributor

Thanks for the ping. I'm repairing my laptop and will then migrate my dev environment to a new machine so I don't anticipate being able to look at this in the near term.

@Waterdrips
Copy link
Contributor

/assign: me
Ill take a look at this

alexellis added a commit that referenced this issue Dec 1, 2020
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

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants