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

Request for Support of time_intervals in Alertmanager Configuration #235

Closed
voidquark opened this issue Oct 20, 2023 · 3 comments
Closed

Comments

@voidquark
Copy link

I'd like to request the enhancement of the Ansible role for Alertmanager to support the time_intervals feature in its configuration. This feature allows specifying time-based intervals for alert management, and it would be a valuable addition to the existing functionality.

Here is an example of how the time_intervals could be structured in YAML configuration:

time_intervals:
  - name: office-hours
    time_intervals:
      - times:
          - start_time: "08:00"
            end_time: "17:00"
        weekdays: ['Monday:Friday']

The proposed enhancement is based on the Prometheus Alerting Configuration documentation, specifically detailed here: Prometheus Alerting Configuration - time_interval.

I recommend introducing new variables, possibly named alertmanager_time_intervals, and updating the Ansible template to accommodate this new configuration option.

Thank you for considering this enhancement request, and please let me know if you need any further information or assistance in implementing this feature.

@anhnt094
Copy link

anhnt094 commented Nov 7, 2023

+1

1 similar comment
@rezizter
Copy link
Contributor

+1

@gardar
Copy link
Member

gardar commented Dec 12, 2023

#251

@gardar gardar closed this as completed Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants