Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

fix(api): Fix metrics lifecycle policies tasks #29

Merged
merged 7 commits into from
Jun 16, 2024

Conversation

hayk96
Copy link
Owner

@hayk96 hayk96 commented Jun 16, 2024

1. What this PR does / why we need it:

  • [ENHANCEMENT] Added a new endpoint: [POST] /metrics-lifecycle-policies/trigger for force-triggering all Metrics Lifecycle Policies.
  • [CHANGE] Changed the execution interval of the task "Clean-up Prometheus series" by the scheduler to 2 hours (previously 20 minutes).
  • [BUGFIX] Prevented the execution of more than one task at the same time, as tasks can remain in the running state for longer than their execution interval.

2. Make sure that you've checked the boxes below before you submit PR:

  • DCO signed
  • No conflict with the main branch.

hayk96 and others added 7 commits June 16, 2024 01:42
Signed-off-by: hayk96 <hayko5999@gmail.com>
Signed-off-by: hayk96 <hayko5999@gmail.com>
Signed-off-by: hayk96 <hayko5999@gmail.com>
Signed-off-by: hayk96 <hayko5999@gmail.com>
Signed-off-by: hayk96 <hayko5999@gmail.com>
Signed-off-by: hayk96 <hayko5999@gmail.com>
Signed-off-by: hayk96 <hayko5999@gmail.com>
@hayk96 hayk96 merged commit 8e30efb into main Jun 16, 2024
4 checks passed
@hayk96 hayk96 self-assigned this Jun 16, 2024
@hayk96 hayk96 added bug Something isn't working enhancement New feature or request labels Jun 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant