Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a WFO metrics endpoint/exporter #844

Open
srichmond opened this issue Feb 14, 2025 · 1 comment
Open

Create a WFO metrics endpoint/exporter #844

srichmond opened this issue Feb 14, 2025 · 1 comment
Labels
feature Request for new feature to elaborate

Comments

@srichmond
Copy link
Contributor

Background

The idea is to have a place were certain performance metrics are exposed so that they can be scraped and pushed to a TSDB.

Instant performance metrics:

  • number of current workflow active
  • number of current workflows active failed
  • number of current tasks active
  • number of current tasks active failed
  • number of completed workflows (I am kind of unsure about this one)
  • duration of completed workflows (same here)

long-term metrics:

  • number of products
  • number of subscriptions per state

These are the first things that pop up in my mind, I guess it could make sense to get some interesting stats about database usage but probably there are other ways to do it

Implementation

I guess a scraping endpoint that can be pointed at by a prometheus would work, but I also know that many of us use influxdb so this approach might be suboptimal. The idea came from the metric server in Proxomox where you can choose between graphite and influxdb.

I do not think this has to be something configurable via GUI.

@hanstrompert
Copy link
Member

Probably better to use counters instead of gauges to be less interval dependent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Request for new feature to elaborate
Projects
None yet
Development

No branches or pull requests

2 participants