-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
feat: allow custom labels for count metrics. Fixes #9849 #11636
Conversation
4277ae0
to
fb3cce0
Compare
fb3cce0
to
a2e650a
Compare
yes you're right, thanks😅 |
d3e64d4
to
027923f
Compare
Signed-off-by: LilTwo <w0005151@gmail.com>
Signed-off-by: LilTwo <w0005151@gmail.com>
027923f
to
c42e8a4
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
So sorry, I'm going through old PRs and I see that unfortunately this one has been forgotten. I will try to review it soon. Argo Workflows needs more people approving PRs unfortunately. If your company is by chance interested, I am gauging interest in this idea. |
@LilTwo do you still want this one reviewed? I see the Stale bot marked it as "stale", which we recently removed since that was clearly unfairly marking PRs stale when somebody was waiting for them to be reviewed. I can remove that label if you like. Thanks for your patience! |
Closing since this has been inactive for several months. Feel free to re-open if you pick it up again. |
is there any reason why should we close this pr? i would like to have this fearture |
where @LilTwo |
Fixes #9849
Motivation
Since all custom non-realtime metrics are emitted after workflow completed, and realtime metrics are emitted after workflow start to run.
Currently there is now way to know pending workflow count grouped by labels, name or others
Use case:
We use different semaphore configs for multiple kinds of workflows and need to have alerts to monitor if certain kind of workflows are blocked
Modifications
Allow users to add custom labels to
arog_workflow_count
while keeping the metrics unchanged if new added fields are not presented
example:
resulting metrics
argo_workflows_count_new{key="123",status="Succeeded"} 1
Verification
Tests will be added after the design is confirmed